joefox
10 Sep 2010, 8:25 AM
I have a javascript function that changes the Text and iconCls on my form on the fly.
I can change the Text but the i throw an error when trying to change the iconCls
Any ideas?
var mtr = Ext.ComponentMgr.get('spec_filter_button');
mtr.setText('CHANGED');
mtr.seticonCls('user_edit');
I can change the Text but the i throw an error when trying to change the iconCls
Any ideas?
var mtr = Ext.ComponentMgr.get('spec_filter_button');
mtr.setText('CHANGED');
mtr.seticonCls('user_edit');