shift-click select not working

shift-click select not working

bigsipperbigsipper Posts: 31Questions: 2Answers: 0
edited January 2014 in DataTables 1.9
http://debug.datatables.net/exuxis
http://jsfiddle.net/bigsipper/CDdbX/

Using the code found here as an example: datatables.net/forums/discussion/14165/multi-select-with-ctrl-click-and-shift-click/p1

I'm trying to get shift-click select working - but nothing happens. No select high lighting - with single click, or shift-click.
There are no errors on the console. I've pretty much copied the example verbatim.
If I put code breaks in with Firefox debug, I can tell no callbacks are triggered.
What am I doing wrong?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    No need for the workaround code these days - TableTools now has this ability built-in :-). Se the select type to `os` (i.e. operating system like select) and shift / cmd / ctrl clicks will work just like in an operating system :-).

    This is in TableTools 2.1.6 pre-release. Example: http://live.datatables.net/AkeZ/1/ . I'm going to be wrapping up a package for TableTools 2.1.6 release soon.

    Allan
  • bigsipperbigsipper Posts: 31Questions: 2Answers: 0
    Oh coooool! Thats exactly what I need....
This discussion has been closed.