-
30 Apr 2012 6:35 AM #1
Answered: Ext.DataView.getEl() not existing on Sencha Touch 2
Answered: Ext.DataView.getEl() not existing on Sencha Touch 2
Hello,
On Sencha Touch 1, Ext.DataView has a function called getEl() but not on Sencha Touch 2 (Ext.dataview.DataView). Does anyone can tell me what I should use instead?
Thanks
-
Best Answer Posted by darren102
In Sencha Touch 2 it has been replaced with element instead i.e.
Code:var view = Ext.create('Ext.dataview.DataView', { // config here }); view.element // this will provide you the element then you can do things like on for listeners or anything else you wish with the element.
-
30 Apr 2012 9:05 AM #2Ext GWT Premium Member
- Join Date
- May 2010
- Location
- Ashburn, Virginia
- Posts
- 48
- Vote Rating
- 2
- Answers
- 8
In Sencha Touch 2 it has been replaced with element instead i.e.
Code:var view = Ext.create('Ext.dataview.DataView', { // config here }); view.element // this will provide you the element then you can do things like on for listeners or anything else you wish with the element.


Reply With Quote