rect-grid: The ColumnOrderState
plugin has been renamed to TableColumnReordering
and is now available via the @devexpress/dx-react-grid-bootstrap3
and @devexpress/dx-react-grid-material-ui
packages.
The TableView
plugin's allowColumnReordering
property has been removed and the TableColumnReordering
plugin now depends on the TableView
plugin. Thus, it is enough to link the TableColumnReordering
plugin below the TableView
plugin to enable column reordering.
Before:
import {
// ...
ColumnOrderState
} from '@devexpress/dx-react-grid';
// ...
<ColumnOrderState defaultOrder={[/* ... */]} />
<TableView allowColumnReordering />
After:
import {
// ...
TableColumnReordering
} from '@devexpress/dx-react-grid-bootstrap3';
// } from '@devexpress/dx-react-grid-material-ui';
// ...
<TableView />
<TableColumnReordering defaultOrder={[/* ... */]} />