Ignore 'Select' on double click?
Ignore 'Select' on double click?
tekuila
Posts: 24Questions: 5Answers: 0
I use select extension to select rows.
And when doubleclicking, it links to another page.
So when doubleclicking, it selects, unselects and then redirects.
But how to avoid the unselect un doubleclick?
Thanks.
This discussion has been closed.
Answers
One option is to use checkbox selection instead of whole row selection as shown in this example:
https://datatables.net/extensions/select/examples/initialisation/checkbox.html
Kevin
Thank you but it has to be whole row selection.
You may be interested in the developers response to using double clicks in this thread:
https://datatables.net/forums/discussion/comment/161983/#Comment_161983
Its not asking about the same use of double click as you but his answer is relevant.
Kevin
Thanks guys. Found a solution to add this:
So the longer code is: