Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomMemData.FilterList Property

Provides access to the list of filtered records.

#Declaration

Delphi
property FilterList: TdxIntegerList read;

#Property Value

Type Description
TdxIntegerList

The list of filtered records (as record indexes).

#Remarks

The list accessible through the FilterList property maintains the list of filtered records when the ProgrammedFilter property is set to True.

#Code Example: Populate Filtered Record Lists

The following code example populates the list of filtered records accessible through the FilterList property:

var
  AGroupIDField: TField;
begin
  dxMemData1.ProgrammedFilter := True;
  AGroupIDField := dxMemData1.FieldByName('GroupID');
  while not dxMemData1.Eof do
  begin
    if AGroupIDField.AsInteger = 1 then
      dxMemData1.FilterList.Add(dxMemData1.RecNo);
    dxMemData1.Next;
  end;
  dxMemData1.Filtered := True;
end;
See Also