Latest select plugin (from download page) not working!
Latest select plugin (from download page) not working!
itajackass
Posts: 162Questions: 48Answers: 3
Hi it seems latest SELECT plugin (2.0.4) downloaded from dedicated page, not working propertly.
See my code:
https://live.datatables.net/supoqihe/1/edit
if I decomment nightly version all is ok, but with official releases, "select-all" doesn't work.
This question has an accepted answers - jump to answer
Answers
When you say it isn't working, do you mean that when you click the "Select all" header checkbox, it isn't checking the rows? (it does actually select the rows though, which you can see if you add the class "table" to the table).
Frustratingly I haven't been able to reproduce that locally yet, but can see it in your example.
Allan
Yes it isn't checking the rows.
Ok adding "table" class now it select all rows, but only set as blue backgound: the input checkboxes still not checked "visually".
And basically returned this bug: https://datatables.net/forums/discussion/79087/bug-with-select-multi-shift#latest
This is just as "interesting" as the previous thread! It works okay with the non-min version of Select: https://live.datatables.net/supoqihe/5/edit .
I've identified why that is the case - I use a function name to on the checkbox renderer to determine if it is a checkbox column. But the minifier removes it! I'm looking into how to address that.
Allan
Fix committed here. I'll release 2.0.5 with it soon.
Thanks for bringing this to my attention.
Allan