We are using this grid combobox. its displays data for me.
but we want to listen to itemCLick event when we click on grid row, it should fire the events, but its not firing
below is mine code..
Code:
var gridCmbMultiColumn = new Ext.ux.GridComboBox({
fieldLabel : 'Grid ComboBox',
multiSelect : false,
displayField : 'DisplayMember',
valueField : 'DisplayMember',
width : 250,
labelWidth : 100,
labelAlign: 'Left',
store : store,
typeAhead : true,
queryMode : 'local',
matchFieldWidth : false,
pickerAlign: 'bl',
gridCfg : {
store : store,
height: 200,
width: 400,
columns : [
{
text : 'ValueMember',
width : 100,
dataIndex : 'ValueMember'
},{
text : 'ContractBasis',
width : 100,
dataIndex : 'ContractBasisName'
}, {
text : 'ContractBasis',
width : 100,
dataIndex : 'ContractBasisName'
},{
text : 'Description',
width : 160,
dataIndex : 'Description'
}]
},
listeners: {
itemClick: {
fn: function testtrigger(p, r){
console.log('test item 1');
}
}
}
});
please help what i am doing wrong..
thanks,