PDA

View Full Version : How can I use applyToMarkup to insert markup into a panel?



dannyarcher
18 Jul 2013, 10:01 PM
I have a custom auto-fill combobox that I'm initializing. I want to insert its contents into a panel. What is the syntax to do that?

I want to do something like

customCombo.applyToMarkup(Ext.getCmp('myPanel').theCorrectHTMLProperty);

Thanks.

willigogs
22 Jul 2013, 1:09 AM
Could you clarify exactly what you're trying to achieve? :)

Are you simply wanting to get the entire combo contents and paste these as text into a panel, or is it just the selected combo option?