Table rendering not properly - rows odd and even bug in layout. Where to look for the error?
Table rendering not properly - rows odd and even bug in layout. Where to look for the error?
![Chrom](https://secure.gravatar.com/avatar/07527e66264a4e15eedf944cee817493/?default=https%3A%2F%2Fvanillicon.com%2F07527e66264a4e15eedf944cee817493_200.png&rating=g&size=120)
The first three columns in each row have one color then the others change the color. I tried to set correct it with !important but it doesnt do it. It also seems like the first three have a hower effect and then the hover effect disappears.
When I click on sorting for these not properly rendered colors it will rerender them and they will be displayed properly.
Any idea where the problem could be?
Answers
it seems this pre sorting is the issue.
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Looks like you are using the default Datatables styling and have the classname
display
on thetable
tag. The styling docs explains what this means. Sounds like you want to remove theorder-column
class. Thedisplay
class enables theorder-column
class. Try adjusting the classnames on yourtable
tag.Kevin