301
Help for ParamQuery Pro / Re: Filter condition
« on: November 24, 2016, 06:46:38 pm »
Would the above be possible?
Thanks.
Thanks.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
$("#grid_array").pqGrid("filter", {
oper: 'replace', data: [
{ dataIndx: 'Indx1', condition: 'equal', value: '1'},
{ dataIndx: 'Indx2', condition: 'equal', value: '2'},
{ dataIndx: 'Indx3', condition: 'equal', value: '3'}
]});
$("#grid_array").pqGrid( "option", "filterModel", { on: true, mode : "AND" } );
{ dataIndx: 'test', condition: 'equal', value: '0'}, // add value 1, 2 and 4...
$("#grid_array").pqGrid( "filter", { oper: 'replace', data: [
{ dataIndx: 'Column1', condition: 'equal', value: '0'},
]})
colModel[0].hidden = true;
grid.option( 'colModel', grid.option( 'colModel') );
grid.refresh();
colModel[0].hidden = true;