ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: emphasys on August 25, 2017, 07:10:17 pm
-
Hi, I am having problems with the checkbox filtering. When I try to filter the checkbox by checking, unchecking and leaving it blank. The ajax call always sends out this Filter column value as "On". What can I do to actually send the result "True", "False", whatever the third value is called?
Column:
title: "Fee", dataType: "bool", dataIndx: "setfee", resizable: true, type: 'checkbox',
filter: { type: "checkbox", subtype: 'triple', condition: "equal", listeners: ['click'] }
Ajax call for this column:
pq_filter:{"mode":"AND","data":[{"dataIndx":"setfee","value":"on","condition":"equal","dataType":"bool","cbFn":""}]}
-
Which version you have been using.
It works fine as can be seen in this example ( Paid column ): https://paramquery.com/pro/demos/filter_header
It sends "true", "false" or doesn't send any filter for the boolean column.
-
I am using 3.4.1.
-
Please share a jsfiddle to reproduce the issue.