Version

AllowRecordFiltering Property (Field)

Enables the record filtering user interface. Default is null which resolves to False.
Syntax
'Declaration
 
Public Property AllowRecordFiltering As Nullable(Of Boolean)
public Nullable<bool> AllowRecordFiltering {get; set;}
Remarks

AllowRecordFiltering property enables the record filtering user interface where the user can specify filter criteria to filter records. Records that do not match the specified filter criteria will hidden (this is default behavior which can be changed by setting the FieldLayoutSettings.FilterAction property), and thus presenting the user with the view of only the data that matches the filter criteria.

FieldLayoutSettings.FilterUIType property specifies the type of user interface that the data presenter will use to let the user filter records.

To actually specify filter conditions in code to pre-filter the records, use the FieldLayout's FieldLayout.RecordFilters or the RecordManager's RecordManager.RecordFilters depending on the FieldLayoutSettings.RecordFilterScope property setting. By default FieldLayout's RecordFilters are used.

To check if a data record is filtered out, use the record's DataRecord.IsFilteredOut property. GroupByRecord also exposes GroupByRecord.IsFilteredOut property, which returns true if all of its descendant data records are filtered out.

Note: In filter record if a field's AllowRecordFiltering is set to false, the filter cell will be disabled. However it will display the current filter criteria if any.

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