Changes between Initial Version and Version 1 of Ticket #13405
- Timestamp:
- Jul 11, 2011, 12:03:43 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13405
- Property Owner changed from Jared Jurkiewicz to Kris Zyp
-
Ticket #13405 – Description
initial v1 1 When you wrap a dojo.data store in a dojo.store. DataStore you get correct result when calling: var myItem = store.get(anItemID) but if you try to get the id on the item itself: store.getIdentity(myItem) it won't give the correct ID. This happen when implicit ID is used (for example on CsvStore this is the row #, forXmlStore this is the Xpath query).1 When you wrap a dojo.data store in a dojo.store.!DataStore you get correct result when calling: var myItem = store.get(anItemID) but if you try to get the id on the item itself: store.getIdentity(myItem) it won't give the correct ID. This happen when implicit ID is used (for example on !CsvStore this is the row #, for !XmlStore this is the Xpath query). 2 2 3 3 In other terms: store.get(store.get(anItemID).getIdentity()) does not work when implicit ID is used.