如何动态载入到sencha-touch的combobox(selectfield)中

来源:互联网 发布:python 删除列表元素 编辑:程序博客网 时间:2024/05/22 09:45

Sencha Touch 交流 QQ 群 224711028

var testStore = new Ext.data.Store({model : "Navigator",autoLoad: true});

xtype: 'selectfield',name: 'aggregation',label: 'Country',store: testStore,displayField: 'MetricName',valueField: 'MetricId',

参考原文:http://www.swarmonline.com/2011/01/dynamic-sencha-touch-forms-part-1-enablingdisabling-fields-based-on-form-selections/

原创粉丝点击