Alex Rivera | Logout

How to Show/Hide/Toggle Element with ExtJS?

Asked 2010-11-02T03:11:33.470
15

How to Show/Hide/Toggle Element with ExtJS?

Edit
Report

1 Answer

5

Ext.AbstractComponent has a hidden property which you can set as true in initialization and then alter programatically on demand

items: [{
     xtype: 'button',
     itemId: 'submitButton',
     text: 'Submit',
     hidden: true
}]

and then later...

me.getComponent('submitButton').hidden = false;
answered 2013-05-19T22:55:32.900

Your Answer