ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: entwine.llc.wi on September 21, 2018, 12:06:37 am
-
I was just wondering if there is a simple way to display the grid filter as it is being built? I want to include a textbox that shows users how they are filtering the data as they move from column to column.
-
you can use the filter event.
filter: function(evt, ui){
//debugger;
var data = ui.rules.map(function(rule){
return {
dataIndx: rule.dataIndx,
crules: rule.crules
}
})
$("#filter_log").val(JSON.stringify( data ));
},
<textarea id='filter_log'></textarea>