-
react-grid: The draftGrouping
getter does not contain information about draft mode anymore. The draftGroupingChange
, and cancelGroupingChange
actions have been renamed to draftColumnGrouping
, and cancelColumnGroupingDraft
.
-
react-grid: The type of the TableColumnResizing plugin's columnWidths
and defaultColumnWidths
properties has been changed from object to array to improve API consistency.
Before:
<Grid>
<TableColumnResizing columnWidths={{ a: 120 }} />
</Grid>
After:
<Grid>
<TableColumnResizing columnWidths={[{ columnName: a, width: 120 }]} />
</Grid>
-
react-grid: The changeDraftTableColumnWidth
action has been renamed to draftTableColumnWidth
. The functionality that resets draft column width has been moved from from the draftTableColumnWidth
action into the separate cancelTableColumnWidthDraft
action.
The onDraftWidthChange
event of the TableHeaderRow's cellComponent has been renamed to onWidthDraft
. The functionality that cancels draft width changes has been extracted to the onWidthDraftCancel
event.
-
react-grid: The the GroupingState plugin's groupByColumn
action has been renamed to changeColumnGrouping
.
-
react-grid: We changed the selection
getter's data type from Set
to Array
to improve the API consistency.
-
react-grid: We renamed the following TableColumnVisibility plugin's properties to improve the API consistency:
hiddenColumns
=> hiddenColumnNames
defaultHiddenColumns
=> defaultHiddenColumnNames
onHiddenColumnsChange
=> onHiddenColumnNamesChange
The hiddenColumns
getter has been renamed to hiddenColumnNames
.
-
react-grid: The following RowDetailState plugin's properties have been renamed to improve the API consistency:
expandedRows
=> expandedRowIds
defaultExpandedRows
=> defaultExpandedRowIds
onExpandedRowsChange
=> onExpandedRowIdsChange
The expandedRows
getter has been renamed to expandedRowIds
.
-
react-grid: The following EditingState plugin's properties have been renamed to improve the API consistency:
changedRows
=> rowChanges
defaultChangedRows
=> defaultRowChanges
onChangedRowsChange
=> onRowChangesChange
The changedRows
getter has been renamed to rowChanges
.
-
react-grid: The FilteringState plugin's setColumnFilter
action has been renamed to changeColumnFilter
.
-
react-grid: The RowDetailState plugin's setDetailRowExpanded
action has been renamed to toggleDetailRowExpanded
.
-
react-grid: The toggleSelection
action's selected
parameter has been renamed to state
.
-
react-grid: We changed the expandedGroups
getter's data type from Set
to Array
to improve the API consistency.
-
react-grid: The following EditingState plugin's properties have been renamed to improve the API consistency:
deletedRows
=> deletedRowIds
defaultDeletedRows
=> defaultDeletedRowIds
onDeletedRowsChange
=> onDeletedRowIdsChange
editingRows
=> editingRowIds
defaultEditingRows
=> defaultEditingRowIds
onEditingRowsChange
=> onEditingRowIdsChange
The deletedRows
getter has been renamed to deletedRowIds
.
The editingRows
getter has been renamed to editingRowIds
.
-
react-grid: The SortingState plugin's setColumnSorting
action has been renamed to changeColumnSorting
.