Insert Record into Sorted & Filtered ADVStringGrid

Is there a way to insert/delete a record in a ADVStringGrid that is filtered and Sorted.  Can a new record obtain the correct place in the Grid and respect the Filter/Sort ? Will deleting a record remove it from a being selected by a filter ?


For example, a grid of Cars may have a filter for: "Ford". Adding another "Ford" record will show up in the grid while "BMW" wont show until the "Ford" filter is removed...

Thanks in Advance

This is not trivial.

To avoid the complexities involved, I would recommend to do the unfilter / unsort + insert / delete operations followed by new filter / sort in a BeginUpdate / EndUpdate block.