imnilesh
25 Jun 2009, 11:32 PM
Following code:
var item = new Ext.Toolbar.TextItem(' ');
Ext.fly(item.el).addClass('test-class');
was working fine for Ext 2 but now in Ext 3.0, item.el is not returning the HTMLElement.
Gone through the documentation of Ext 3.0, could not find the API to get the HTMLElement. I tried using the new config option 'autoEl', but it also did not worked for me.
Any way to get the HTMLElement?
Thanks in advance.
var item = new Ext.Toolbar.TextItem(' ');
Ext.fly(item.el).addClass('test-class');
was working fine for Ext 2 but now in Ext 3.0, item.el is not returning the HTMLElement.
Gone through the documentation of Ext 3.0, could not find the API to get the HTMLElement. I tried using the new config option 'autoEl', but it also did not worked for me.
Any way to get the HTMLElement?
Thanks in advance.