var itemsToSelect = ["soccer", "baseball"];
var index = -1;
var myList = getMyList();
itemsToSelect.forEach(function(itemToSelect) {
index = myList.getStore().find('fieldName', itemToSelect);
myList.select(index,true,false);
});
Pre selected list items in Sencha Touch
The following code shows how-to pre select your list items in Sencha Touch:
Hey buddy!! What amazing and useful information you are sharing here, thanks for sharing. I would love to share this information on mine post also so that the visitors of my blog also get a chance to become familiar with this information.
ReplyDeleteSencha Touch Development Company
Hire Sencha Touch Developer