Version

FilterRecord Class

A filter record lets the user filter data records by specifying filter criteria for one or more fields.
Syntax
'Declaration
 
Public Class FilterRecord 
   Inherits DataRecord
   Implements Infragistics.Collections.ISparseArrayItem, Infragistics.Collections.ISparseArrayMultiItem, Infragistics.Windows.Selection.ISelectableItem 
public class FilterRecord : DataRecord, Infragistics.Collections.ISparseArrayItem, Infragistics.Collections.ISparseArrayMultiItem, Infragistics.Windows.Selection.ISelectableItem  
Remarks

FilterRecord lets the user filter data records by specifying filter criteria for one or more fields. Filter criteria for a field is specified via the associated cell in the filter record. Filter record displays a filter cell for each field in the associated field layout. Each filter cell lets you select filter criteria for the associated field. Each cell typically has UI for selecting a filter operator (like Equals, GreaterThan, StartsWith etc...) and UI for entering filter operand, which is the filter value to compare against. An operator combined with an operand forms a filter condition. Data records with cell values that do not match the condition will be filtered-out (hidden) by default. A filter cell can also have a button to clear previously entered filter criteria.

Filter record is enabled by setting the AllowRecordFiltering property to true and FilterUIType to FilterRecord.

Settings are available to control various aspects of the filter record and filter cells. FilterOperatorDropDownItems controls the filter operators that the filter cell will make available to the user for selection. FilterOperandUIType controls type of UI used for the operand portion in the filter cell. FilterOperatorDefaultValue controls the initial value that will be pre-selected in the filter operator UI.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also