Hiding a panel in extjs

I want to hide the panel until the item clicks.

xtype: 'processform', id: 'processCol2', hidden: true, columnWidth: 0.5 

So good. The panel is hidden. But how can I turn it on again.

I tried the following

  var panel = Ext.getCmp('processCol2'); panel.hidden = false; panel.setVisible(true); 
+4
source share
1 answer

Could you post more code? You probably have other problems. I did jsfiddle to show that your implementation should work:

http://jsfiddle.net/sQ58E/

+1
source

Source: https://habr.com/ru/post/1394767/


All Articles