ParamQuery grid support forum
General Category => ParamQuery Pro Evaluation Support => Topic started by: sbryan on April 10, 2015, 09:33:52 pm
-
I'm trying to use local header filtering on a date column using the between condition.
If I set value: and value2: in my filter they show up in the input fields but the grid isn't filtered until I change one.
Is there a way to make it filter on those values immediately when the grid is displayed?
-
You could call the filter method immediately upon grid creation ( in create event for local data / load event for remote data)
$grid.pqGrid( "filter", {
oper: 'add',
data: [{dataIndx: 'dataIndx of the column', value:'1st value', value2: '2nd value'}]
});
Please let me know if you need any further assistance.
-
Perfect. Thank you.