Fixed Columns Bootstrap 4 overrides table-striped styling (if enabled or not)
Fixed Columns Bootstrap 4 overrides table-striped styling (if enabled or not)
Link to test case:
https://jsfiddle.net/jzhrvq5x/11/
Taken from the examples and removed table-striped: https://datatables.net/extensions/fixedcolumns/examples/styling/bootstrap4.html
Description of problem:
Fixed columns for bootstrap 4 includes CSS that changes row style to appear as though the table is striped even when the style has not been set on the table. If the table is set to be striped, the fixed columns row colouring is still different shade than a regular striped bootstrap 4 table.
Unsure if it's related to this one https://datatables.net/forums/discussion/comment/195457/#Comment_195457
Thanks for taking a look!
This question has an accepted answers - jump to answer
Answers
Many thanks for pointing that out! There were a few errors in the Bootstrap styling integration unfortunately. I've just committed a change to address this and tables without
table-striped
will work correctly if you use the updated stylesheet.The nightly will be up to date with that change in the next few minutes.
Allan
Thanks for the quick fix @allan, works like a charm!