DISCOVERY! Don't use 'align="center" in your TABLE tag!
DISCOVERY! Don't use 'align="center" in your TABLE tag!
I just spent 4 hours trying to figure out why my DT wouldn't work correctly. I was trying to implement y-scrolling. The table was appearing at the bottom of my page although the header was at the top. This only happened if I had bPagination set to 'false'. Setting bPagination to 'true' would move the table to the top of the page!
A simple thing like having 'align="center"' in my TABLE tag! I removed it and all is well.
It may be in the doc somewhere but I didn't see it.
Anyway, FYI.
A simple thing like having 'align="center"' in my TABLE tag! I removed it and all is well.
It may be in the doc somewhere but I didn't see it.
Anyway, FYI.
This discussion has been closed.
Replies
Thanks very much for the heads up on this! I had no idea that it would be quite so catastrophic and mess up the scrolling totally. I'll certainly keep this little nugget of information readily available :-)
Regards,
Allan
Use :
[code]
//Insert code here
[/code]