Hi,
I'm using PQGrid 2.4.1 free version in asp.NET MVC project.
I have a grid that receive the data with JSON type like this:
[{
"institutionId":1,
"institution":{
"id":1,
"name":"school",
...more info about institution...
}
"observations":"Observation example"
...more info about the obj...
}
...more objs...
]
So, in column I write this for write my institution info (Institution's Name) and for filter writting in header:
{
title: 'InstituciĆ³n',
dataIndx: 'institutionId',
dataType: 'string',
width: '300',
render: (ui) => {
if (ui.rowData['institution'] == undefined) {
return 'Unknown';
}
return ui.rowData['institution']['name'];
},
filter: { type: "textbox", condition: 'contain', listeners: ['keyup'], cache: null }
}
Simply, the filter not works with this combination. When I filter for observations column, the filter works perfectly.
How can I filter for rendered value in column?
Regards.