Trouble with Bootstrap CSS for odd rows
Trouble with Bootstrap CSS for odd rows
joyson
Posts: 22Questions: 5Answers: 0
Hi,
I am using datatables with the single file bootstrap css. I have a scrolling table and every odd row does not show any colouring. it is just white and purple lines. The color is similar to that which is present when you scroll in the scroller example. But in my case those lines are present for all the rows even when I am not scrolling. Can you please help with this.
Regards,
Joyson.
This discussion has been closed.
Answers
Just an update. I just added individual files just to narrow down the problem and it works fine when I remove 'https://cdn.datatables.net/scroller/1.3.0/css/scroller.bootstrap.min.css'
file.
Added the following in the scroller.bootstrap.css and it is working fine:
div.DTS tbody tr.odd {
background-color: whitesmoke;
}
Let me know if this the correct way to solve the issue.
I have put together a jsfiddle for this issue.
http://jsfiddle.net/25ykc4um/8/