Select extension CSS bug
Select extension CSS bug
In the current Select extension CSS (https://cdn.datatables.net/select/1.2.5/css/select.dataTables.min.css), the th.select-checkbox selector is incorrectly combined with the tbody tag selector as follows:
table.dataTable tbody th.select-checkbox
SInce th is a descendant of thead rather than tbody, the th.select-checkbox styling never gets applied. So table.dataTable tbody th.select-checkbox should be replaced with table.dataTable thead th.select-checkbox in the Select extension CSS.
Answers
A
thelement inside thetbodyis actually valid HTML (and indeed can make good semantic sense sometimes - headers down a column for example). Select doesn't currently do anything with a checkbox in the header, which is why it explicitly doesn't show the checkbox in the header (there was an earlier version which missed thetbodyqualifier, and of course everything thought it was a "check all" - it didn't do anything).Allan