PDA

View Full Version : is there any way by which i can enable/disable collapsible mode dynamically.



chirag.bhalodiya
30 Jan 2013, 9:54 PM
I am using tree panel where i want that it should be collapsible (http://docs.sencha.com/ext-js/4-1/#%21/api/Ext.panel.Panel-cfg-collapsible) on some screens and not collapsible (http://docs.sencha.com/ext-js/4-1/#%21/api/Ext.panel.Panel-cfg-collapsible) on other screen. is there any way by which i can enable/disable collapsible (http://docs.sencha.com/ext-js/4-1/#%21/api/Ext.panel.Panel-cfg-collapsible) mode dynamically.

i tried setting collapsible (http://docs.sencha.com/ext-js/4-1/#%21/api/Ext.panel.Panel-cfg-collapsible) = false and hideCollapseTool (http://docs.sencha.com/ext-js/4-1/#%21/api/Ext.panel.Panel-cfg-hideCollapseTool) = true but that is not working.

Thanks in advance for help,
Chirag.

chirag.bhalodiya
1 Feb 2013, 1:06 AM
any updates?