Skip to main content

TdxCustomMemData.FilterList Property

Determines the list of filtered records.

Declaration

property FilterList: TdxIntegerList read;

Property Value

Type
TdxIntegerList

Remarks

This property is used to maintain a list of filtered records when the ProgrammedFilter property is set to True. Only these records will be displayed in a filtered dataset. If the ProgrammedFilter property is set to False, the list is generated automatically with the help of the OnFilterRecord event.

The following code shows how to populate the FilterList list property.

with <dxMemData1> do
begin
  ProgrammedFilter := True;
  First;
  while not Eof do
  begin
    if <your condition here> then
      FilterList.Add(CurRec + 1);
    Next;
  end;
  Filtered := True;
end;
See Also