Through search, I saw Condor telling people to use autoEl.
I can do something like this
var previewPan = new Ext.Panel({
autoEl: {cn: 'random html here'},
border: false
});
With the undocumented autoEL deal. However later on if I try
previewPan.autoEl={cn:'ahhh'}
it doesn't update my panel.
How do I get a panel that will update with the 1 line of html I send to it?
Correct, autoEl is only useful for BoxComponent, not for Panel (use the html config option).
You can update the content of a panel by using:
panel.body.update('some html');
and a BoxComponent with:
box.el.update('some html');
var previewPan = new Ext.Panel({
html: '',
border: false
});
?
Hum tried a bunch of different things, I must be missing something obvious. Any help?
Thanks again!
I Am a Sinner – What About You?
Global Sourcing and Supplier Online by Dylan
|