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
while building a DnD table, I want to highlight the rows that are selected by fading those away that aren't. For that, each row needs to know if any other row is selected. I can use selectedFlatRows.length and pass that into the row object, but it's quite tricky to get it into a cell renderer, e.g. to hide some buttons when a row is selected.
There is already a property row.isSomeSelected. I propose adding a second property, row.isAnySelected.
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
-
Hey folks,
while building a DnD table, I want to highlight the rows that are selected by fading those away that aren't. For that, each row needs to know if any other row is selected. I can use
selectedFlatRows.length
and pass that into the row object, but it's quite tricky to get it into a cell renderer, e.g. to hide some buttons when a row is selected.There is already a property
row.isSomeSelected
. I propose adding a second property,row.isAnySelected
.Beta Was this translation helpful? Give feedback.
All reactions