in the View Ticket screen we've put up a Webpanel which displays a simple screen that contains a static table.
When navigating to that webpanel the table might or might not be displayed "crunched".
Here is an example of it being crunched:
And here it is properly displayed:
As far as I've been able to deduce it is a matter of timing. If we quickly go to the webpanel, then it'll be properly displayed. If we wait a few seconds before clicking on the webpanel, it'll be crunched.
When it is crunched, if I open up Chrome Developer Tools, and call this manually, it'll rearrange the columns properly:
I think the problem is somehow related to the webpanel being populated in the background, while the webpanel is still not visible to the user, and that the resizeColumn call isn't called then.
Here you can see that the URL's to the three webpanels I have are called before I click on any of them:
Is there any way to tell the webpanel not to load its content until we click on that webpanel?