Reputation: 213
Hi am new to Sencha touch2, am parsing url of json data and showing in list. How can i add check box for each listitem?
Upvotes: 1
Views: 1772
Reputation: 121
Hi just add html to your template, try this:
itemTpl: '<input type="checkbox" id="myId" <tpl if="active">checked="checked"</tpl>/>{field from json data}',
Upvotes: 1