Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82137

Misalignments in columns while paginating forward

$
0
0
I have misalignment between columns (having actual data) and columns header when paginate forward for the first time.

That is if I have 4 pages when I click 2, 3 4 I am having misalignment. But when I click the same pages again backwards (4, 3, 2, 1) this misalignment goes off. After I paginate backward once, paginating forward also works fine without misalignment.

Any clue what the issue is?

I initially had this misalignment on load of the table. I used oTable.fnDraw() with fnInitComplete which fixed the issue. How can I detect the paginate event so that I can do oTable.fnDraw() when a new page is clicked (I understand that this might have a slight impact of performance).

I am using DataTables 1.9.4

Thanks!

Viewing all articles
Browse latest Browse all 82137

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>