Hi,
I am trying to implement the Remote filter option in the grid, I am not sure what am I missing.
Here are the step I have done:
1. colModel: { title: "Country", width: "160", align: "left", dataIndx: "COUNTRY_NAME",
filter: { type: 'textbox', condition: 'begin', listeners: ['keyup'] }
}
2. filterModel: { on: false, mode: "AND", header: true }
3. dataModel: {
location: "remote",
sorting: "local",
dataType: "JSON",
sortIndx: "COUNTRY_NAME",
recIndx: "COUNTRY_NAME",
method: "GET",
getData: function (dataJSON) {
var data = dataJSON.data;
//expand the first row.
data[0]['pq_detail'] = { 'show': true };
return { data: data };
}
Whenever I type any thing on the Filter option, it does not filter, but show the entire dataset.
Please advice, what am I Missing ?
thx
Prabhu