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