How to emulate page maximize behaviour

How to emulate page maximize behaviour

mattjmattj Posts: 1Questions: 1Answers: 0

Hi,

I have an issue where occassionally a table's column headers fail to correctly align with the columns in the table body. I'm using the same code to produce many tables accross many pages, and it works fine say 98% of the time.

What always fixes this is if I restore and then maximize the browser window (frustratingly, this is also fixed if I have the developer console open in either FireFox or Chrome - not currently seeing this issue in IE). So I was wondering if I could have a JS call after rendering each table that would have the same effect as a browser restore/maximize?

I already have a call to columns.adjust().draw() after each table to fix another issue (similar I believe, I forget now), so might there be a similar "fix"? Or has anyone come across this exact issue and can suggest anything else?

I have to apologise and say that I've been unabke to reproduce this with bare-bones code, and the present example isn't publicly accessible. Sorry.

This discussion has been closed.