View Full Version : xtype list -> item index -> datastore
21 Apr 2011, 4:30 AM
The itemtap event of an Ext.List receives an index of the item tapped. Does this index correspond to the index of the record in the store that this List uses ? If not, it there a way to determine it ?
25 Apr 2011, 11:30 PM
26 Apr 2011, 12:29 AM
As long as your are just hooking up a store to a list via the store: mehtod then I dont see why not. Surely you could test this buy dumping the record to the console.log? to test?
26 Apr 2011, 1:20 AM
Of course I have tested this and on first glance they seem to be on par. But I would like to know if I can count on this to be true in all circumstances. (what if sorting and/or filtering is applied for instance?)
Powered by vBulletin® Version 4.1.5 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.