DataTables Select issue
DataTables Select issue
rob897
Posts: 3Questions: 1Answers: 0
Here is the fiddle to show the issue.
https://jsfiddle.net/rob897/u3rd7a30/
If you check a couple of boxes, then hover and click drag to capture text from the table and then try clicking another checkbox, it will check but the selected row counter does not capture any more clicks.
This discussion has been closed.
Answers
Hi @rob897 ,
Yep, I can reproduce that too, definitely looks wonky - we'll look into it.
Cheers,
Colin
Its fixed in the nightly of Select by this commit.
Updated example.
We'll get the bug fix release of Select out soon.
Allan
It appears we lost the selected count text in this nightly right now.
Sorry - the
min.js
version in the nightly appears not to be building at the moment. The non-min version works: https://jsfiddle.net/u3rd7a30/7/ .Allan
Whats odd now is just by swapping out with the nightly when I click on a checkbox my application has a on change event that gets the
table.rows('.selected').count()
This works fine in jsfiddle, but its not adding the selected class to my tr tag.
Any ideas?
No idea I'm afraid. Can you link to your page or modify the JSFiddle to reproduce the same result?
There is one other issue I can think of with using "real" checkboxes, rather than images / characters like in the demos - if you programmatically select a row using
row().select()
, Select will not automatically check the checkbox.Thanks,
Allan