material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

In a Table, when allRowsSelected is true, state.selectedRows is empty

Open zacksinclair opened this issue 11 years ago • 2 comments

  1. Have a table
  2. Click allRowsSelected
  3. Figure that you can get all the rows by checking state.selectedRows
  4. Nope! selectedRows is empty, even though they're all selected

I don't think I'd call it a bug, but logically I think state.selectedRows should be populated when allRowsSelected. This allows you to gather up the selected rows using the same method regardless of all or some being selected.

zacksinclair avatar Sep 28 '15 19:09 zacksinclair

@zacksinclair I think this was fixed somewhere. can you check again?

alitaheri avatar Dec 30 '15 22:12 alitaheri

Closing this for now for lack of response.

tintin1343 avatar May 11 '16 16:05 tintin1343