react-data-grid v7.0.0-canary.47 Release Notes
-
- ➕ Added a third, optional generic on
<DataGrid />
to specify the row key type. (PR) - ➕ Added the
useRowSelection
hook for custom cell renderers to accessisRowSelected
andonRowSelectionChange
. (PR) HeaderRendererProps.allRowsSelected
tweaks, affecting theSelectColumn
: (PR)- It will now be
false
whenrows.length === 0
instead oftrue
. selectedRows
must contain all the row keys forallRowsSelected
to betrue
, instead of naively comparing thesize
andlength
.
- It will now be
- Optional props on
<DataGrid />
can now also benull
in addition toundefined
. (PR)
- ➕ Added a third, optional generic on