You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a table that enables some rows to be single selected, and others to be multi selected.
In that columns header, there's a checkbox that renders when at least one row on the page is multiSelectable, and toggles on and off all multiSelectable rows.
However, the current implementation of table.getIsAllPageRowsSelected (and it's some counterpart) only check if the rows are selectable at all, not multiSelectable.
It would be nice to have a multiSelectable variant built in, either as a new function or a prop to the current function (defaulting to row.getCanSelect as it does now).
This is possible to replicate and build out ourselves pretty easily, but being built in feels like it would be a nice win.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have a table that enables some rows to be single selected, and others to be multi selected.
In that columns header, there's a checkbox that renders when at least one row on the page is multiSelectable, and toggles on and off all multiSelectable rows.
However, the current implementation of
table.getIsAllPageRowsSelected
(and it'ssome
counterpart) only check if the rows are selectable at all, not multiSelectable.It would be nice to have a multiSelectable variant built in, either as a new function or a prop to the current function (defaulting to
row.getCanSelect
as it does now).This is possible to replicate and build out ourselves pretty easily, but being built in feels like it would be a nice win.
Beta Was this translation helpful? Give feedback.
All reactions