qtip : "Enter code",
width : 100
},
- {
- xtype: 'ComboBox',
- xns: Roo.form,
- allowBlank : false,
- displayField : 'desc',
- editable : false,
- emptyText : "Select Type",
- fieldLabel : 'Type',
- hiddenName : 'comptype',
- listWidth : 250,
- name : 'comptype_name',
- qtip : "Select Company type",
- selectOnFocus : true,
- triggerAction : 'all',
- typeAhead : false,
- valueField : 'val',
- width : 200,
- store : {
- xtype: 'SimpleStore',
- xns: Roo.data,
- data : '[ \'CONSULTANT\', "Consultant" ],[ \'CLIENT\' , "Client" ],[ \'CONTRACTOR\' , "Contractor" ]',
- fields : '[\'val\', \'desc\']'
- }
- },
{
xtype: 'ComboBox',
xns: Roo.form,
},
alwaysQuery : true,
displayField : 'name',
- editable : 'false',
emptyText : "Select Type",
fieldLabel : 'Type',
forceSelection : true,
+ hiddenName : 'comptype',
listWidth : 250,
loadingText : "Searching...",
minChars : 2,