I want the following to appear on one line. I tried using float and display styles.
Show this input <input type = "text" name = "filterOp" id = "filterOp" /> inline.
<script type = "text / javascript">
new Ext.form.ComboBox ({
applyTo: 'filterOp',
triggerAction: 'all',
name: 'item',
mode: 'local',
lazyInit: true,
displayField: 'name',
valueField: 'id',
forceSelection: true,
typeAhead: true,
inputType: 'text',
fieldLabel: 'Item selection',
style: "display: inline-block",
store: new Ext.data.JsonStore ({
autoLoad: true,
url: 'reporting / json_report_filter_operators.jsp',
root: 'rows',
fields: ['id', 'name']
})
})
</script>
source
share