Opened 8 years ago

Closed 7 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.

Attachments (3)

datalist.html (1.5 KB) - added by Ming Zhe Huang 8 years ago.
test case
datalist.html.patch (646 bytes) - added by Hikaru Tamura 8 years ago.
datalist.2.html (1.5 KB) - added by Hikaru Tamura 8 years ago.

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by Ming Zhe Huang

Attachment: datalist.html added

test case

comment:1 Changed 8 years ago by ykami

Cc: Hikaru Tamura added

Changed 8 years ago by Hikaru Tamura

Attachment: datalist.html.patch added

Changed 8 years ago by Hikaru Tamura

Attachment: datalist.2.html added

comment:2 Changed 8 years ago by Hikaru Tamura

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 8 years ago by ykami

Milestone: 1.8

Thanks htamura for the workaround.
Archer, we will fix this in 1.8. In the meantime, please do as htamura suggested.

comment:4 Changed 7 years ago by ykami

Resolution: fixed
Status: newclosed

In [27398]:

Fixes #14269 !strict Added onStoreClose() to handle store.close().

Note: See TracTickets for help on using tickets.