"|xns": "Roo",
"items": [
{
- "|xns": "Roo.form",
- "xtype": "ComboBox",
+ "listeners": {
+ "select": "function (combo, record, index)\n{\n (function() { _this.grid.footer.onClick('first'); }).defer(100);\n}"
+ },
"allowBlank": false,
+ "displayField": "cust_name",
"editable": true,
"emptyText": "Select custinfo",
+ "fieldLabel": "cust_name",
"forceSelection": true,
+ "hiddenName": "cust_id",
"listWidth": 400,
"loadingText": "Searching...",
"minChars": 2,
+ "name": "cust_name",
"pageSize": 20,
"qtip": "Select Customer",
+ "queryParam": "query[cust_name]",
"selectOnFocus": true,
+ "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{cust_name}</b> </div>",
"triggerAction": "all",
"typeAhead": true,
- "width": 300,
- "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{cust_name}</b> </div>",
- "queryParam": "query[cust_name]",
- "fieldLabel": "cust_name",
"valueField": "cust_id",
- "displayField": "cust_name",
- "hiddenName": "cust_id",
- "name": "cust_name",
+ "width": 300,
+ "xtype": "ComboBox",
+ "|xns": "Roo.form",
"items": [
{
"listeners": {
{
xtype: 'ComboBox',
xns: Roo.form,
+ listeners : {
+ select : function (combo, record, index)
+ {
+ (function() { _this.grid.footer.onClick('first'); }).defer(100);
+ }
+ },
allowBlank : false,
+ displayField : 'cust_name',
editable : true,
emptyText : "Select custinfo",
+ fieldLabel : 'cust_name',
forceSelection : true,
+ hiddenName : 'cust_id',
listWidth : 400,
loadingText : "Searching...",
minChars : 2,
+ name : 'cust_name',
pageSize : 20,
qtip : "Select Customer",
+ queryParam : 'query[cust_name]',
selectOnFocus : true,
+ tpl : '<div class="x-grid-cell-text x-btn button"><b>{cust_name}</b> </div>',
triggerAction : 'all',
typeAhead : true,
- width : 300,
- tpl : '<div class="x-grid-cell-text x-btn button"><b>{cust_name}</b> </div>',
- queryParam : 'query[cust_name]',
- fieldLabel : 'cust_name',
valueField : 'cust_id',
- displayField : 'cust_name',
- hiddenName : 'cust_id',
- name : 'cust_name',
+ width : 300,
store : {
xtype: 'Store',
xns: Roo.data,