TAdvStringGrid: remove a column filter

Hello,

i want to remove only two of my column filters. (These do not necessarily have to be the last)
Then i want to set new filters.
If i do that more than twice, the Stringgrid is empty.
Only a "Remove All Filters" will reset that.

Do I need to do anything other than Filter.delete() ?

  //delete filter of col 6 and 7
  for I :=  advstringgrid1.Filter.Count-1 downto 0 do
  if ((advstringgrid1.Filter.Items[i].Column=6) or  (advstringgrid1.Filter.Items[i].Column=7)) then
  advstringgrid1.Filter.Delete(i);


  //add new filters
  with advstringgrid1.Filter.Add do
  begin
    condition := '>2'; column := 6;
  end;
  with advstringgrid1.Filter.Add do
  begin
    condition := '<10'; column := 7;
  end;
  advstringgrid1.ApplyFilter;

regards

For removing filters in a random sequence, you'll need to undo filtering , set new filter, reapply filtering