Description
If a user filters a table, and an on_action() callback is set on the table, then the payload["index"] contains the row number of the filtered table, but there is no way to know what real row that is in the original DataFrame.
We are pretty sure that the same error occurs with on_edit() as well.
Description If a user filters a table, and an
on_action()
callback is set on the table, then thepayload["index"]
contains the row number of the filtered table, but there is no way to know what real row that is in the originalDataFrame
.We are pretty sure that the same error occurs with
on_edit()
as well.How to reproduce
Sequence of events:
Expected behavior The row number should be of the filtered DataFrame, or there should be some way to know what rows remain after filtering.
Runtime environment Please specify relevant indications.