View Full Version : [solved] Viewport onReady?

14 Jul 2009, 12:26 PM
We have a viewport that is building a portal window (almost EXACTLY like the grouptabs example). We need a slew of things to happen when the viewport/portal is _finished_ loading - we're building dashboards, and do to the difference in various screen sizes, need to know what size charts to build.

Is there anything like an onReady or onComplete or...whatever (yes, I am aware that onReady is not the same as onComplete, but didn't know what else to call it) that fires when the viewport and/or portal is DONE? We have tried render, afterrender, activate, show, and every other event that even remotely made sense. None of them did what we needed them to do.

We are using the newest release of EXT (3.x - downloaded them yesterday, July 13 2009), and have exhaustively scrubbed both the docs and the forums, but can't seem to see anything that fits.

any assistance would be greatly appreciated.

14 Jul 2009, 12:41 PM
Use afterlayout and the single option.

14 Jul 2009, 12:49 PM
Thank you sir. Worked like a charm.

You truly are a gentleman and a scholar.