0
Каков наилучший способ создания встроенного управления полем со списком в ExtJS4?inline combobox
Пример кода:
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.
ему необходимо, чтобы обернуть в конце строки. .. – alumb
И вы действительно хотите иметь компонент ExtJs внутри? Простого элемента HTML будет недостаточно? – sha
Даже не отдаленно. – alumb