Grid 3.5 FilterBy Not working

I am following the example in the documentation (see below) and it’s not working. Let’s say a column has values A through E and I want to filter B and D and just have those two rows show.
mygrid.filterBy(1,“B”);
mygrid.filterBy(1,“D”,true);

What am I doing wrong?

From: Filtering Data DHTMLX Docs
Programmatic filtering of the column by several criteria
mygrid = new dhtmlXGridObject(‘gridbox’);
mygrid.setHeader(“Sales, Book Title,Author”);

mygrid.filterBy(3,“John Grisham”);// filters the 2nd column by value “John Grisham”
mygrid.filterBy(3,“Stephen King”,true);//each next method’s call has 3rd param - true

Regards,

Rich Herring

Hello @rherring ,

It’s hard to suppose what exactly goes wrong, as provided code looks correctly, so it may be some issue of specific version(in case if you are using 3.5) - in this case, the best approach will be to upgrade to more modern version.
It may be helpful if you send me(dm) a simplified demo with all necessary files and run instructions, that I will be able to run locally and reproduce the issue.

Kind regards,