TCrDbGrid: which event is fired when the user set a filter?

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Guest

TCrDbGrid: which event is fired when the user set a filter?

Post by Guest » Mon 06 Feb 2006 14:14

Hi,
I can't find a way to know when the user filters the dataset via TCrDbGrid.

I have one object in the form for each record in the dataset, so I need to hide or destroy some according on user filter.

Which event is fired?

Thank You,

Geppo Darkson.

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Thu 09 Feb 2006 13:58

CRGrid has no event to handle this situation. CRGrid doesn't filter records by itself. It either sets Filter property of DataSet (if the LocalFilter option is set to True) or sets the FilterSQL property if you use TOraTable, TOraQuery or TOraSmartQuery.

Post Reply