149
rated 0 times
[
151]
[
2]
/ answers: 1 / hits: 20456
/ 14 Years ago, mon, march 21, 2011, 12:00:00
I am attempting to show/hide an ExtJS Toolbar button programmatically. I have tried to access the button directly, by ID using:
var btn = Ext.get('buttonID'); // I've also tried Ext.query('buttonID')
btn.show();
However, this does not cause the button to be shown. The toolbar button is defined with the ID with which I am attempting to execute the show()
method.
Is there a different way for me to access the button, directly? Or, is there a different way to show it (adding/removing CSS attributes, etc.)?
Thank you in advance.
More From » extjs