Hi,
THE PROBLEM:
I have a handful of dynamic panels, where:
onLoad, each DP sizes itself to sizes based on window.width (like, [[ Window.width -This.left*2 ]] )
THE PAIN POINT:
The page load takes about 7 seconds. Each dynamic panel contains a grid of text blocks to mimic a data grid, 2 x 20, and 20 x 20 cells.
Then on WindowResize, I fire the same dynamic panels’ onLoad trigger/action.
This, too, is kinda choppy (even with a conditional that constrains the resizing to every 200 milliseconds—"If [[ Now ]] > [[ previous.milliseconds +200 ]] "
QUESTION:
Is there any chance that just having a dedicated widget to get, and then display, window width, so that all other dynamic panels can refer to its text, rather than calculate window.width, would be faster? Or is it just my 20 x 20 cells data grids?
Probably splitting hairs, but I really need to minimize the page rendering time.
Thanks a bunch!
John