Opened 9 years ago
Closed 9 years ago
#14269 closed defect (fixed)
Cannot use store.close() to reload DataList
Reported by: | Ming Zhe Huang | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | DojoX Mobile | Version: | 1.7.0 |
Keywords: | Cc: | Hikaru Tamura | |
Blocked By: | Blocking: |
Description
Please see the attached test case. Clicking "Update" will not update the contents of the data list.
I think that violates the contract of dojo.data.
- Please see the question 5 on dojo.data FAQ: http://dojotoolkit.org/reference-guide/quickstart/data/usingdatastores/faq.html#question-5-with-itemfilereadstore-and-itemfilewritestore-how-do-i-reload-the-store-contents
- Also there's an example on how to reload store. Please see demo "Reloading/Refreshing? ItemFileReadStore? from a 'data' object" on this url: http://dojotoolkit.org/reference-guide/dojo/data/ItemFileReadStore.html#reloading-refreshing-itemfilereadstore-from-a-data-object-dojo-toolkit-1-4
Attachments (3)
Change History (7)
Changed 9 years ago by
Attachment: | datalist.html added |
---|
comment:1 Changed 9 years ago by
Cc: | Hikaru Tamura added |
---|
Changed 9 years ago by
Attachment: | datalist.html.patch added |
---|
Changed 9 years ago by
Attachment: | datalist.2.html added |
---|
comment:2 Changed 9 years ago by
DataList? doesn't handle close event currently. I uploaded sample code with workaround. (diff and new full code.) We are going to consider fix.
comment:3 Changed 9 years ago by
Milestone: | → 1.8 |
---|
Thanks htamura for the workaround.
Archer, we will fix this in 1.8. In the meantime, please do as htamura suggested.
Note: See
TracTickets for help on using
tickets.
test case