Data-Tables misaligning table title and body when scrolling

1

I'm trying to apply the DataTables plugin to my template tables, the problem is that when I apply scroll , the table ends up misaligning the table title of its respective body of data. p>

JsFiddle

    
asked by anonymous 08.04.2014 / 14:55

2 answers

0

I opened a topic related to this problem in the International Stack Overflow where my question was partially resolved. Despite the new problem found from the response, I believe the same is related to my template, not just the table itself. So, do not mend the doubt of this topic with another, and also grant the due credits to the author of the solution, post the link below the link to the fiddle and the topic with the solution. Thanks!

Topic with the solution

Fiddle

    
09.04.2014 / 13:27
1

From what I noticed the behavior is normal, since you are doing the scroll of the body of the table and not the table itself. If you notice vertical scroll does not include the header of the table.

> of the table you have to continue to do scroll , hence the "misalign", which does not actually happen. Do you understand?

See the image:

    
08.04.2014 / 15:23