Hello,
I cannot achieve the following simple filter on AdvStringGrid :
gridContacts.FilterActive := False;
try
if btEntreprises.Down then
with gridContacts.Filter.ColumnFilter[1] do
begin
Column := 1;
Condition := gridContacts.CheckTrue;
Operation := foAND;
end
else if gridContacts.Filter.HasFilter(1) then
gridContacts.Filter.RemoveColumnFilter(1);
finally
gridContacts.FilterActive := True;
end;
The data in column 1 is created using gridContacts.AddCheckBox(1, Row, Value)