我已经按照前面的示例创建了一个带有"多个"列的组合框,但是当我选择一个项目时,它没有做出选择.如何使用tpl启用项目选择?
{
xtype: 'combobox',
tpl: '<tpl for="."><div class="x-combo-list-item" >{ntID} {PictureURL}</div></tpl>',
editable: true,
//autoSelect: true,
triggerAction: 'all',
store: 'userInfos',
displayField: 'ntID',
valueField: 'ntID',
fieldLabel: 'Username',
itemId: 'username'
},
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5699 次 |
| 最近记录: |