Hybrid View
-
18 Nov 2011 11:10 AM #1
Answered: How to change a custom button value
Answered: How to change a custom button value
In my buttons I set the view I want them to go to:
How do I change the view using the button api?Code:xtype: 'button', ui: 'list', view: 'Terms'
I can do setIconCls, setText etc.. but I need a setView or set('view', 'Terms') method
-
Best Answer Posted by cyberwombat
Duh.... b.view = 'Terms'. I was looking for a setter and totally dismissed setting the property directly. Lol.
-
18 Nov 2011 11:28 AM #2
Duh.... b.view = 'Terms'. I was looking for a setter and totally dismissed setting the property directly. Lol.


Reply With Quote