-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
rc.4 has broken Datatable select/unselect functionality #1260
Comments
Can this functionality be checked in your own showcase example with Chrome/Firefox and IE? |
Unfortunately it seems that multiple selection is broken as well. |
And I personally would prefer 'unselect' only in multi select mode. In single mode the selection should only change when you click on the other row, not on the same one. |
If you see other users' concerns, the desired behaviour should be different for single and multiple selections. |
If you have only one row in the table, how do you unselect? |
Don't select it in the first place ;) Really, why do you need to unselect a single item? One option would be to use Ctrl-click |
I need unselect in my application, because then the view changes and hides information. The solution like in rc.3 was nice, it would be great if you can bring it back. |
derchiurg, so you have a list with let's say one item. You click on this item and some details appear. You click one more time and details disappear. On and off on the same view, nothing else happens. I can't remember any grid acting this way. |
I use select and unselect events for enabling and disabling certain buttons on the page and clear/clone some objects. It all depends on your application requirements. It was a feature earlier which is not working after rc.4. |
I also work on an app that depends on selecting and unselecting rows, because I use it to show some buttons. After rc.4 this behavior is broken. I also noticed that it is not possible to select multiple rows just by clicking on them (as it was before). |
This has been discussed before, this is by design, on non-touch devices use metakey+ctrlkey and on touch devices use click/tap, for previous discussions; The metakey/ctrlkey implementation is based on operating system such mac or windows which users are familiar with. On mobile devices, datatable switches to tap based selection without keys as they don't exist. We'll keep monitoring further feedback, we might introduce attributes to make this customizable in future right now we could not replicate a bug. |
May be it can be configurable in some way? Select/unselect, keys/mouse etc. |
I have the some issue here. On a 'VERY slow' tablet and a table with about 100 rows, from within a browser, the datatable, most of the time it does not selects multiple rows but its working just like a 'single selection mode'. The last tap deselects all previous selected rows and selects just one. On a much more fast tablet and mobile device it seems to working as expected!!! |
After I upgraded to rc.4, the select/unselect functionality does nopt work.
Please see your own showcase example.
It was working in rc.3
Pl check this functionality:
In single mode, a row is selected on click event of a row. If the row is already selected then the row gets unselected.
The text was updated successfully, but these errors were encountered: