filterBy and row deletion 'problem'

Hi,

here is my problem:

i have a grid with data loaded. When i use filterBy to find the rows data i want and then delete some of the rows it works fine but when i remove the filter text and all the data appears in the grid the deleted rows are still there.

When i try to delete them again i gain custom defined error which means that they are already deleted but for some reason the are still visible.

any solution? please!

any solution?

Grid can’t delete row while it is in filtered state
Instead of simple

grid.deleteRow

you can use

[code]grid.filterBy(0,"");

grid.deleteRow(id);

grid._f_rowsBuffer = null;
grid.filterByAll();[/code]