Select not working using concatenated css file?

Select not working using concatenated css file?

xanderhxanderh Posts: 8Questions: 2Answers: 0

Hello,

Our website is using Bootstrap 3 and until recently we were including datatables and our needed plugins as individual JS and CSS files. We needed to update to 1.11.5 as we were using a nightly from the chrome sub-pixel fix, so decided to try using concatenated files.
I used the download builder which resulted in these 2 files:
https://cdn.datatables.net/v/bs/dt-1.11.5/b-2.2.2/b-html5-2.2.2/fc-4.0.2/fh-3.2.2/rg-1.1.4/sl-1.3.4/datatables.min.js
https://cdn.datatables.net/v/bs/dt-1.11.5/b-2.2.2/b-html5-2.2.2/fc-4.0.2/fh-3.2.2/rg-1.1.4/sl-1.3.4/datatables.min.css

We noticed select is no longer working properly, and is causing the row to have white text on a still white background. I can see the css file is trying to put background-color:#08c on tr.selected, but this is being overridden by the tds having a white background color all the time in the same css file:
table.dataTable tbody tr td{background-color:#fff;}

Am I instantiating the table wrong somehow or is this a problem with the download builder?

Thanks.

Replies

  • xanderhxanderh Posts: 8Questions: 2Answers: 0

    I've just had another go with the download builder and the css to make all tds white seems to be getting added by FixedColumns. But according to the compatibility table there are no issues between FixedColumns and Select?

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Yes, that will do it! We've got a possibly related issue with jQuery UI. When that is resolved we'll get a release made with these fixes.

    Allan

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Hi,

    I've just committed a bunch of changes to DataTables core, Select and FixedColumns that should address this issue.

    Here is an example using the nightlies.

    Allan

Sign In or Register to comment.