Open r-chris opened 6 years ago
As a workaround, you could quickly identify which rows are currently selected in a data table by using a callback of the DataTable selected_row_indices list to populate a html.Div above the data table. The selected_row_indices list contains the index of every selected row in the data table.
Thanks @dshefman1 - the index alone isn't that helpful, because there is no way for me to jump to a specific index in the table. Assuming I have a table with 10,000 entries and now I have a list of indices [101,202,303], I still can't easily get to those entries in the table. I guess I could have a second table that just shows the selected items, but that's not a great solution as the data is already there (just hard to find).
It would be helpful to quickly identify which rows are currently selected in a data table.
For example if I select rows by clicking into a histogram, multiple rows will be selected, but it is actually very difficult to find and review all of them (inside a reasonably large data table).
A possible improvement would be to allow filtering of selected / non-selected rows or to at least allow sorting rows based on their selection status.