"|xns": "Roo.form"
},
{
- "|xns": "Roo.form",
- "xtype": "ComboBox",
"allowBlank": "false",
+ "displayField": "name",
"editable": "false",
"emptyText": "Select Person",
+ "fieldLabel": "Notify Who",
"forceSelection": true,
+ "hiddenName": "person_id",
"listWidth": 400,
"loadingText": "Searching...",
"minChars": 2,
+ "name": "person_id_name",
"pageSize": 20,
"qtip": "Select Person",
+ "queryParam": "query[name]",
"selectOnFocus": true,
+ "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",
"triggerAction": "all",
"typeAhead": true,
- "width": 300,
- "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",
- "queryParam": "query[name]",
- "fieldLabel": "Person",
"valueField": "id",
- "displayField": "name",
- "hiddenName": "person_id",
- "name": "person_id_name",
+ "width": 300,
+ "xtype": "ComboBox",
+ "|xns": "Roo.form",
"items": [
{
"*prop": "store",
xtype: 'ComboBox',
xns: Roo.form,
allowBlank : 'false',
+ displayField : 'name',
editable : 'false',
emptyText : "Select Person",
+ fieldLabel : 'Notify Who',
forceSelection : true,
+ hiddenName : 'person_id',
listWidth : 400,
loadingText : "Searching...",
minChars : 2,
+ name : 'person_id_name',
pageSize : 20,
qtip : "Select Person",
+ queryParam : 'query[name]',
selectOnFocus : true,
+ tpl : '<div class="x-grid-cell-text x-btn button"><b>{name}</b> </div>',
triggerAction : 'all',
typeAhead : true,
- width : 300,
- tpl : '<div class="x-grid-cell-text x-btn button"><b>{name}</b> </div>',
- queryParam : 'query[name]',
- fieldLabel : 'Person',
valueField : 'id',
- displayField : 'name',
- hiddenName : 'person_id',
- name : 'person_id_name',
+ width : 300,
store : {
xtype: 'Store',
xns: Roo.data,