Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
こんにちは、Sencha touch2 の初心者です。json データの URL を解析してリストに表示しています。各リストアイテムにチェックボックスを追加するにはどうすればよいですか?
こんにちは、テンプレートにhtmlを追加してください。これを試してください:
itemTpl: '<input type="checkbox" id="myId" <tpl if="active">checked="checked"</tpl>/>{field from json data}',