Incorrect CSS Selectors for TH tags in 1.2.5 Datatables
Incorrect CSS Selectors for TH tags in 1.2.5 Datatables
I would like to report that there are incorrect selectors in https://cdn.datatables.net/select/1.2.5/css/select.dataTables.css.
This style sheet fails to select the appropriate TH tags because tbody is specified, rather than thead.
Example:
table.dataTable tbody th.select-checkbox:before {
Should be:
table.dataTable thead th.select-checkbox:before {
It also appears the after css to apply the checkbox tick mark is failing as well for TH checkboxes. I have not been able to find a solution for this.
table.dataTable tr.selected th.select-checkbox:after
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Select doesn't operate on the table header at all. Could you clarify why you think it should?
Allan
In previous versions, it did. There should be a checkbox in the table header to serve as a 'select all'. If select wasn't meant to operate on the table header, I find it interesting that there are so many css selectors for it.
IIRC Select 1.2.1 had this checkbox on the header. This was considered a bug (not expected) and removed, according to this thread:
https://datatables.net/forums/discussion/comment/105849/#Comment_105849
Kevin
Thanks Kevin, that makes sense.