Problematic Select All/Deselect behavior

Problematic Select All/Deselect behavior

mpereirampereira Posts: 3Questions: 1Answers: 0

Debug code: igacod
http://debug.datatables.net/igacod

In the example, http://datatables.net/release-datatables/extensions/TableTools/examples/select_multi.html the functionality is working perfectly.

However, in the example that uses selectors for each row, http://datatables.net/release-datatables/extensions/TableTools/examples/select_column.html , you can see that hitting 'Select All' and then trying to deselect individual rows in fact deselects everything else. You have to hold down 'command' on OSX or the control key on Windows to deselect individual rows.

Similarly, in the installation I'm working with, when a user selects all rows with the Select All button, and then clicks any individual row to then deselect it, all other rows immediately deselect instead. However, I'm having an issue where I can't even use the 'command' or 'control' keys to deselect individual rows. We need this functionality so that users can quickly select all but a few individual rows - any idea how to work around or troubleshoot this issue?

Let me know how I can better explain or demonstrate things if they're at all unclear.

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    However, in the example that uses selectors for each row,....

    In that example, you are describing the behaviour I would expect. You have made a selection - in this case, all entries - and if you subsequently click an individual entry you are effectively beginning a new selection. Hence other entries are deselected. To amend an existing selection it is generally understood that "control/click" is required on a Windows system.

  • mpereirampereira Posts: 3Questions: 1Answers: 0

    In this case command/control click also deselects everything, after a Select All.

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    In the "select_column" example you linked to, control/click deselects one entry for me, after a Select All.

  • mpereirampereira Posts: 3Questions: 1Answers: 0

    "However, I'm having an issue where I can't even use the 'command' or 'control' keys to deselect individual rows. We need this functionality so that users can quickly select all but a few individual rows - any idea how to work around or troubleshoot this issue?"

This discussion has been closed.