ParamQuery grid support forum
General Category => Bug Report => Topic started by: youngfitz on September 14, 2018, 10:39:08 pm
-
Hi,
When selecting equal as the condition for remote filtering, a checkbox list appears. When you choose a option, the filtering throws and error:'Type 'System.String' is not supported for deserialization of an array.'
Below is the JSON passed
{"mode":"AND","data":[{"dataIndx":"EmployeeName","dataType":"string","value":["Callahan"],"condition":"equal"}]}
I tested this on your demos and it seems to be broken as well.
Can you review and see if there is a bug here and if so, is there a way to remove the equals option in the condition dropdown?
-
Your JSON is incorrect. it's rules instead of data key
https://paramquery.com/pro/api#method-filter
and value is simply "Callahan" ( not an array ) for equal condition.
-
Hi,
I followed the example for grid - https://paramquery.com/pro/demos/filter_header which does not work either.
See attached screenshot of console errors from your demo screen.
-
Ok, I see it.
Any condition can be excluded from list of conditions by column.filter.conditionExclude
https://paramquery.com/pro/api#option-column-filter
-
Sound. Can you confirm it is a bug so I can rely back to the customer and have a valid reason to remove the "Equals"option?
Thanks
-
This is fixed in v5.4.0, thanks for reporting issue.
-
Hi,
If i download the evaluation again, will this fix be in it?
Thanks
-
Yes