jQuery UI Widgets › Forums › Grid › Grid filter 'Does not contain' issue
Tagged: #jqwidgets-grid, filter, grid, javascript grid, jquery grid
This topic contains 5 replies, has 3 voices, and was last updated by Hristo 9 years ago.
-
Author
-
Hi,
I am having an issue with jQxGrid ‘Does not contain filter’ on jQWidgets v4.2.1.
Please have a look at this fiddle.:
http://jsfiddle.net/X68HN/188/On applying ‘does not contain’ filter on ‘Last Name’ with value ‘value2’, I was expecting 2 records which do not contain ‘value2’ but I am getting only one record. Records with a null value for filtered column are getting skipped by ‘does not contain’ filter.
Why it is ignoring empty values. Is it a bug in this version or expected behaviour!
Thanks in advance!
Hello dineshnk,
Thank you for the feedback.
I would like to suggest you as a temporary solution to create another field for the column with empty cells (or just replace the null value with ‘ ‘).
You could achieve this withbeforeLoadCompletecallback function of the jqxDataAdapter.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comI didn’t get your answer. After changing the null value to ”, the result is same.
Can you please provide me updated fiddle.
Also, you can have a look on the screenshot with my scenario.
https://ibb.co/nJ9RfQThanks
Got the point. It is regarding empty space not just quote.
Thanks
I’m having this issue too. In my data, a field can be Y or it can be N or null, those last two should be considered equivalent, so a filter set up for “does not contain Y” should match everything except that value, but it’s also filtering out empty values, which is not the expected default behavior.
Hello,
I would like to suggest you look at this forum topic:
https://www.jqwidgets.com/community/topic/how-to-filter-a-column-from-a-radio-or-button/#post-96404Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.