RowDragEventArgs
Provides event arguments for row drag-and-drop reordering events. Carries dragged records, source and target indices, the native event, and row elements.
Props
The following table outlines the props for the RowDragEventArgs:
| Name | Type | Default | Description |
|---|---|---|---|
| data | T[] | - | Data records associated with the dragged rows. |
| dropIndex | number | - | Zero-based target row index, or |
| fromIndex | number | - | Zero-based source row index. |
| originalEvent | MouseEvent | - | Native mouse event associated with the drag action. |
| rows | Element[] | - | DOM row elements included in the drag operation. |
| target | Element | null | - | Row element under the pointer at the time of the event. |