Overriding TDBAdvGrid's search

If I use grid in page mode, with non full fetched datasets (Devart TMSQery) with large datasets (search over full dataset without sql7query manipulation) is to slow. In this case I try to use my own (dataset) searching in DoSearchFooterAction.

This searching works OK, but grid still try to take a own searching procedure.

How to override dbadvgrid's searching?  (DoSearchFooterAction is protected member).

Simillar "problem" is with sorting, but CanSort with DoSort := False does job correctly.

I wanna to use grid's search panel/footer  user interface, but with my searching mechanism.

Thanks!

You can override the search edit change event handler by setting it directly in code:


grid.SearchPanel.EditControl.OnChange

and from there call your own search function.