Version 1
Common Interface IRowReorderEventArgs GrapeCity DataViewsJS Interface

IRowReorderEventArgs Interface

Defines arguments of the event that occurs when the user starts dragging the row and before inserting the row at new position

Heirarchy

  • IRowReorderEventArgs

Properties

Optional cancel

cancel: boolean

If it is set to true, the action is canceled

Optional newIndex

newIndex: number | string

The drop target row

oldIndex

oldIndex: number | string

The original index of the reordered row

status

status: "beforeRowReorder" | "endRowReorder"

Indicates the editing status. The status can be 'beforeRowReorder' and 'endRowReorder'