IntegratedSorting Plugin Reference

A plugin that performs built-in data sorting.

Import

Use the following statement to import the plugin:

import { IntegratedSorting } from '@devexpress/dx-react-grid';

User Reference

Dependencies

Properties

Name Type Default Description
columnExtensions? Array<IntegratedSorting.ColumnExtension> Additional column properties that the plugin can handle.

Interfaces

IntegratedSorting.ColumnExtension

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.

Plugin Developer Reference

Imports

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.

Exports

Name Plugin Type Description
rows Getter Array<any> Rows with the applied sorting.