PDA

View Full Version : How to add new config properties to a created object ?



ehsan.e
15 Jun 2013, 2:21 AM
hi , a have a question,. i have created a panel object with this line :
var panel = new Ext.Panel({
id:'createdPanel',
collapsible:true
});
and i add this panel to a view port, now i have a button in this view, i want to make the panel no to be collapsible when user click this button, how can i do this ?
i cant get this job done with this line :
Ext.getCmp('createdPanel').collapsible = false;
what can i do ?

ehsan.e
15 Jun 2013, 8:11 PM
no one knows ?!?!

neelua9
10 Jul 2013, 12:34 PM
Hope this link helps ..
http://www.sencha.com/forum/showthread.php?89395-Ext.ux.PanelCollapsedTitle-Cross-browser-vertical-text&p=425944