• query
• queryOptions
• labelProperty
• queryProperty
• transition – The type of animation to perform when transitioning from one selected
child item to another.
• iconBase
• iconPos
• select – Whether and how a check mark associated with the selection in the list will be
shown. Options include:
◦ "multiple" – Multiple items may be selected
◦ "single" – Only a single item may be selected
◦ "" – No check mark will be shown
• stateful
• syncWithViews
• editable
• tag
Now let us look at some examples.
dojo.ready(function() {
storeData = [
{ label: "A", rightText: "Apple" },
{ label: "B", rightText: "Bannana" },
{ label: "C", rightText: "Cantelope" }
];
var sampleStore = new Memory({data:storeData, idProperty:"label"});
list1.setStore(sampleStore);
});
and
<div id="list1" data-dojo-id="list1" data-dojo-type="dojox.mobile.RoundRectStoreList"></div>
produces:
See also:
• Working with Dojo Mobile Lists
• dojox/mobile/RoundRectList
• dojox/mobile/ListItem
Page 242
Comentários a estes Manuais