Hi, When I try to filter the grid by a column with a combobox, in the server side I get the displayfield: ‘funnel’ instead of the datafield: ‘id_funnel’. I want to use the id in order to filter de data. How can i get the id value in the server side?
This is the code of the funnel column that I use
{ text: ‘Funnel’, datafield: ‘id_funnel’, displayfield: ‘funnel’,
filtertype: ‘list’, filteritems : funnels_dataAdapter,
width: ‘20%’, columntype: ‘combobox’,
createeditor: function (row, column, editor) {
editor.jqxComboBox({
selectedIndex: 0,
source: funnels_dataAdapter,
searchMode: ‘containsignorecase’,
autoComplete: true,
remoteAutoComplete: false,
dropDownHeight: 250,
displayMember: ‘funnel’,
valueMember: ‘id_funnel’
});
},
geteditorvalue: function (row, cellvalue, editor) {
var item = editor.jqxComboBox(‘getSelectedItem’);
return item;
},
initeditor: function (row, column, editor) {
editor.jqxComboBox(‘selectIndex’, 0);
},
}
Everything work ok but in the server side I need to use the id_funnel
Thank you in advance