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 access isRowSelected and onRowSelectionChange. (PR)
    • HeaderRendererProps.allRowsSelected tweaks, affecting the SelectColumn: (PR)
      • It will now be false when rows.length === 0 instead of true.
      • selectedRows must contain all the row keys for allRowsSelected to be true, instead of naively comparing the size and length.
    • Optional props on <DataGrid /> can now also be null in addition to undefined. (PR)