Re-show non-erased lines after delete filter

Hello everybody,

sorry for my bad english (I’m french).

I have a little issues with a dhtmlxgrid.

Considere I have 3 columns (A,B,C) and four lines.
Then, I’m doing a filter on the column “B”.
So, I’m seeing only 2 lines (and I know that it is 2 lines which are hidden).
After that, I’m deleting 1 line. That’s why it’s remaining 1 visible line and 2 hidden line.

My problem is : When I delete the filter, the two hidden’s lines doesn’t appears…

Do you have an idea ? Thanks =D

I found it… perhaps this is the solution :

docs.dhtmlx.com/grid__filtering.html

mygrid.filterBy(0,""); //unfilters the grid
mygrid._f_rowsBuffer = null; //clears the cache
 
grid.addRow(...);// adds some row
 
grid.filterByAll();// filters the grid back

that’s the correct solution.