Example of Row Drag And Drop Within Grid in Javascript Data Grid Control

Drag and Drop within Grid

This sample demonstrates the Grid component with the row drag and drop feature within same grid. You can rearrange the grid rows by using drag icon in left side of grid column.Here you can drag and drop the grid rows between the decided rows.

More Details...


Row drag and drop enabled by setting   allowRowDragAndDrop property as true. Grouping can be enabled by setting   allowGrouping property as true. Injecting Module: Grid features are segregated into individual feature-wise modules. To use row drag and drop and grouping features, we need to inject RowDD, Group modules using Grid.Inject(RowDD) and Grid.Inject(Group) section. The row drag and drop functionality is enabled with grouped records in the grid. Now, you can drag and drop the records from one group to another group of your choice.