Sorry, its not working, the result I got, I am explaining bellow -
Case 1: When I am writing the following code-
$( "#grid_documents" ).pqGrid( "option", "filterModel.mode", "OR" );
$("#grid_documents").pqGrid( "filter", {
oper: 'add',
data: [
{ dataIndx: 'Detail', condition: 'range', value: ["Tom Brook_52", "Templeton Robinson"]},
{ dataIndx: 'Owner', condition: 'range', value: ["Tom Brook_52", "Templeton Robinson"]},
{ dataIndx: 'Manager', condition: 'range', value: ["Tom Brook_52", "Templeton Robinson"]}
]
});
I am getting the result shown in picture "case1".
Cae 2: When I am writing
$( "#grid_documents" ).pqGrid( "option", "filterModel.mode", "OR" );
$("#grid_documents").pqGrid( "filter", {
oper: 'add',
data: [
{ dataIndx: 'Detail', condition: 'range', value: ["Tom Brook_52", "Templeton Robinson"]},
{ dataIndx: 'Owner', condition: 'range', value: ["Tom Brook_52", "Templeton Robinson"]},
{ dataIndx: 'Manager', condition: 'range', value: ["Tom Brook_52", "Templeton Robinson"]}
]
});
$( "#grid_documents" ).pqGrid( "option", "filterModel.mode", "AND" );
$("#grid_documents").pqGrid( "filter", {
oper: 'add',
data: [
{ dataIndx: 'DocType', condition: 'regexp', value: "Property Image"}
]
});
I am getting the result shown in picture "case2".
My intended result shown in picture "DocumentFilter"