View Full Version : How do I call function after Panel load?

7 Feb 2011, 8:32 PM
sorry about english skill.

Hi guys,

Now, I'm making a chart without ext's one. (jqplot)
But when I control the element that made in panel, it shows message what 'cannot find element'.

var graph = new Ext.Panel({
id: 'abc' + tabTarget,
border: false,
title: 'Graphs',
html: '<div id=chart1' + tabTarget + '>1</div><div id=chart2' + tabTarget + '>2</div>',

This panel for child of TabPanels.

I guess this trouble comes from the time of process. so I tried to find method like onReady but I can't.

Can I control a element like 'div' that created in Panel? if it can How do that?