-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onSelect & row index #1505
Labels
Comments
@stephanebarbey, I think pass the |
that would be great! Thanks. |
@stephanebarbey, this feature was implemented on |
yes we can get the rowIndex, it's helpful, thanks for that @AllenFang , but the doc is not update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a use case where I need to duplicate the selected rows in a table. So far so good, I can easily get the row selection.
My problem is that I should duplicate them in the order in which they appear in the table, which could be sorted, i.e. the order of the row keys does not match the order in which the rows appear in table.
Would it be possible to have a fourth parameter to the onSelect callback (row, isSelected, e, rowIndex), or, alternatively, is there a callback that yields me the index of a given row (key)? (or should I directly look in state.data?)
Thanks.
The text was updated successfully, but these errors were encountered: