13693261870
2022-09-16 354b3dbfbffb3df45212a2a44dbbf48b4acc2594
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Cell to Cell Drag and Drop Example</title>
<script type="text/javascript" src="../../examples/shared/include-ext.js"></script>
<script type="text/javascript" src="../../examples/shared/options-toolbar.js"></script>
<link rel="stylesheet" type="text/css" href="../shared/example.css" />
 
    <!-- GC -->
 
<script type="text/javascript" src="cell-to-cell-dd.js"></script>
</head>
<body>
<h1>Drag and Drop from Cell to Cell within the same GridView</h1>
<p>This illustrates how a custom plugin can enable a cell to cell drag and drop operation within the same GridView.</p>
<p>This example only allows a drag and drop operation for cells with the same data type, although that is configurable. The custom plugin allows for other configs, please see the comments in the source.</p>
<p>Note that the js is not minified so it is readable. See <a href="cell-to-cell-dd.js">cell-to-cell-dd.js</a> and <a href="../ux/CellDragDrop.js">CellDragDrop</a>.</p>
<div id="grid-example"></div>
<div style="height:10px"></div>
</body>
</html>