#12490 closed enhancement (fixed)
dojox.mobile list widgets should support dojo.data
Reported by: | ykami | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.6.0 |
Keywords: | 1.7-mobile | Cc: | |
Blocked By: | Blocking: |
Description
Add support for dynamic creation of list items using a dojo.data datastore.
RoundRectList and EdgeToEdgeList should have the store property to connect to a dojo.data datastore. But this functionality should be optional to keep the current list widgets small. Subclassing is preferable to directly adding the code to the existing widgets.
Change History (5)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
RoundRectDataList and EdgeToEdgeDataList are subclass of RoundRectList and EdgeToEdgeList respectively. They take the store and query property to connect to a dojo.data datastore just like dojox.grid.DataGrid. Actual implementation is in the _DataListMixin class. _DataListMixin implements onNew and onDelete for dynamic manipulation of the list items.
test_EdgeToEdgeDataList.html and test_RoundRectDataList.html are unit test cases.
comment:3 Changed 10 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
It doesn't work well. setStore() is broken. Cannot be called more than once.
comment:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
(In [24071]) Refs #12490 !strict. Added the EdgeToEdgeDataList? and RoundRectDataList?