Ext.onReady(function(){
Ext.QuickTips.init();
storeList = new Ext.form.ComboBox({
typeAhead: true,
triggerAction: 'all',
emptyText:'---请选择---',
mode: 'local',
electOnFocus:true,
transform:'selectTagId',
width:250
});
})
Ext.QuickTips.init();
storeList = new Ext.form.ComboBox({
typeAhead: true,
triggerAction: 'all',
emptyText:'---请选择---',
mode: 'local',
electOnFocus:true,
transform:'selectTagId',
width:250
});
})
本文介绍了一个使用ExtJS库创建本地搜索组合框的例子。该组合框支持自动完成、显示所有选项、设置默认提示文本等功能,并且可以指定选择项的宽度。
355

被折叠的 条评论
为什么被折叠?



