I have a TAdvStringGrid with a filter
FilterDropDownAuto:= true;
FilterDropDownCheck:= true;
Looks like this:
If the filter is active, I need to notify an user somehow. For example column header, or entire column in different color etc.
How to decide if the filter is active or not? I tried to use GetColumnFilter event:
procedure TfrmDeliveries.grdDeliveriesGetColumnFilter(Sender: TObject;
Column: Integer; Filter: TStrings);
begin
///
end;
But no matter the state of the filter, I don't see anything in the "Filter" variable, that could be used to decide if the filter is set, or not. If I trace what is happening, it always looks like this:
The "FDefined" property looks promissing, but it is always empty. Nothing changes in the local variables at all...
I need to find some way to highlight the column, or the header if the filter is defined. Any help would be appreciated.
Thank you