Mixin for widgets to enable dojo/data data store.
By mixing this class into a widget, it can get data through a dojo/data data store. The widget must implement onComplete(/Array/items) to handle the retrieved data.
See the dojox/mobile/_DataMixin reference documentation for more information.
A query that can be passed to 'store' to initially filter the items.
Parameter | Type | Description |
---|---|---|
query | undefined | |
queryOptions | undefined |
Fetches the data and generates the list items.
Sets a query.
Parameter | Type | Description |
---|---|---|
query | dojo/data/api/Request | Object | |
queryOptions | Object |
Optional
|
Sets the store to use with this widget.
Parameter | Type | Description |
---|---|---|
store | dojo/data/store | |
query | dojo/data/api/Request | Object | |
queryOptions | Object |
Optional
|