在 ExtJS4 中生成内联组合框控件的最佳方法是什么?
示例代码:
xtype:'container',
items:[{
xtype:"component",
html:"this is some text that should appear before the combo: "
},{
xtype:'combo',
queryMode: 'local',
typeAhead: true,
grow:true,
store:["Alabama Alabama Alabama Alabama Alabama Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Georgia"]
},{
xtype:"component",
html:"this is some text that should appear after the combo."
}]
期望的输出:
this is some text that should appear before the combo:<combobox> this is some text that
should appear after the combo.