-
Notifications
You must be signed in to change notification settings - Fork 775
Add ability to return unselected rows in onSelectAll
#466
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
Comments
onSelectAll
HI @tylerjryan, sorry for lately reply. I'll thinks about that and maybe released in near future. Thanks 👍 |
Great, thank you very much! Nice work on this library! |
Released on |
Awesome, very glad that you liked the idea, and thank you for implementing On Sun, May 29, 2016, 08:05 Allen [email protected] wrote:
|
In the
onSelectAll
handling, two arguments are passed:isSelected
andcurrentSelectedAndDisplayData
. In the case where the user is UN-selecting all, there is currently no way of knowing which rows of the table are being unselected becausecurrentSelectedAndDisplayData
is an empty array. This unfortunately makes it impossible to write a handler that is aware of the rows that are being unselected. I do understand that this could be inferred, but there is a particular reason why I need this.In the case of a single row being unselected, the
onSelect
callback does pass the row being unselected. Would it be possible to mirror this functionality in theonSelectAll
by returning the unselected rows in the callback?Let me know if this makes sense. Thanks!
The text was updated successfully, but these errors were encountered: