Search results

Reorder API in React Grid API component

The Reorder module is used for reordering columns.

Methods

reorderColumnByIndex

Changes the position of the Grid columns by field index.

Parameter Type Description
fromIndex number Defines the origin field index.
toIndex number Defines the destination field index.

Returns void

reorderColumnByTargetIndex

Changes the position of the Grid columns by field index.

Parameter Type Description
fieldName string | string[] Defines the field name.
toIndex number Defines the destination field index.

Returns void

reorderColumns

Changes the position of the Grid columns by field names.

Parameter Type Description
fromFName string | string[] Defines the origin field names.
toFName string Defines the destination field name.

Returns void