-
3 Jun 2010 2:01 AM #1
[FIXED-22] doubletap event on Dataview isn't called (0.82)
[FIXED-22] doubletap event on Dataview isn't called (0.82)
The onDoubleTap seems to be called, but the event isn't fired. Itemtap fires perfectly.
Line 191 in Dataview.js.
Code:// private onTap : function(e) { var item = e.getTarget(this.itemSelector, this.getTemplateTarget()); if (item) { var index = this.indexOf(item); if (this.onItemTap(item, index, e) !== false) { e.stopEvent(); this.fireEvent("itemtap", this, index, item, e); } } else { if(this.fireEvent("containertap", this, e) !== false) { this.onContainerTap(e); } } }, // private onContainerTap : function(e) { this.clearSelections(); }, // private onDoubleTap : function(e) { var item = e.getTarget(this.itemSelector, this.getTemplateTarget()); if (item) { this.fireEvent("doubletap", this, this.indexOf(item), item, e); } },
-
3 Jun 2010 11:01 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Haarlem, Netherlands
- Posts
- 1,235
- Vote Rating
- 4
Alright, I'll look into this and make sure it works. I'm currently working on Ext.List (which extends DataView) and there is still a lot of work that needs to be done on both of them. Expect DataViews and Lists to work much better in the next release.
-
14 Aug 2010 7:10 AM #3
Use dataview's itemdoubletap event. Double tap is the native dom event. Itemdoubletap gets the record and item passed to the handler. Currently the documentation lists a second itemtap event instead of itemdoubletap, this has been fixed for the next release.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
With the doubletap, will tap always be called, or is that a bug?
By rdougan in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 6 Aug 2010, 9:55 PM -
Problem to extend ArrayReader -- the new overridden readRecords method isn't called
By floppy in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 19 Jul 2010, 4:41 AM -
[2.1][FIXED] DataView.getNodes() when called on an empty dataview
By Deramo in forum Ext 2.x: BugsReplies: 1Last Post: 31 May 2008, 8:59 AM -
[2.0/2.02][FIXED] Selectionchange Event fired when the DataView initializes
By eingmarra in forum Ext 2.x: BugsReplies: 1Last Post: 12 Mar 2008, 1:18 PM -
[1.1 Beta 1]: EditorGrid event, anonymous function is called, named function isn't?
By willydee in forum Ext 1.x: Help & DiscussionReplies: 6Last Post: 23 Jun 2007, 5:00 AM


Reply With Quote
