A plugin that performs built-in data sorting.
Use the following statement to import the plugin:
import { IntegratedSorting } from '@devexpress/dx-react-grid';
Name | Type | Default | Description |
---|---|---|---|
columnExtensions? | Array<IntegratedSorting.ColumnExtension> | Additional column properties that the plugin can handle. |
Describes additional column properties that the plugin can handle.
Field | Type | Description |
---|---|---|
columnName | string | The name of a column to extend. |
compare? | (a: any, b: any) => number | A sort compare function. See the Sorting guide for more information. |
Name | Plugin | Type | Description |
---|---|---|---|
rows | Getter | Array<any> | Rows to be sorted. |
sorting | Getter | Array<Sorting> | Column sorting to be applied. |
getCellValue | Getter | (row: any, columnName: string) => any | The function used to get a cell value. |
isGroupRow? | Getter | (row: any) => boolean | A function used to identify a group row within ordinary rows. |
getRowLevelKey? | Getter | (row: any) => string? | A function used to get row level key. |
Name | Plugin | Type | Description |
---|---|---|---|
rows | Getter | Array<any> | Rows with the applied sorting. |