You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
ok, so I see that indeed you can implement a MultiSelectColumn with or without the Select extension. (I currently have it without), now my question is how to make the 'select all' checkbox in the header work?
Bug
Should this work 'out of the box' or do I need to write my own JS?
I see that The Select extension includes some buttons for select all/none - but I was trying to see if that is now required for this functionality.
I am using datatables.net 1.10.25 and sg/datatablesbundle v1.3.0
var cbox_checkall = $("#sg-datatables-{{ datatable_name }} input.sg-datatables-{{ datatable_name }}-multiselect-checkall:checkbox");
need to be changed. In both cases, the selector needs to be changed from
$("#sg-datatables-{{ datatable.name }}")
to
$("#sg-datatables-{{ datatable.name }}_wrapper")
after that change, the select all/none checkbox at the top of the table works as expected and also the action buttons at the bottom enable/disable as expected.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Support question
The docs are not clear of any requirement or interaction between the MultiselectColumn and the DataTables Select Extension.
Does one require the other? Can I use Select without Multiselect?
The text was updated successfully, but these errors were encountered: