GridSerializer.EnableRowFiltering Method
Configures the grid to hide records based on the specified criteria. This must be called if the RowFilter or RowAutoFilter property is specified.
Namespace: Microsoft.SharePoint.JSGrid
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub EnableRowFiltering ( _
customRowFilterOperators As IEnumerable(Of FilterComparisonOperator), _
objectBuilderFromSerialized As ObjectBuilderFromSerialized _
)
'Usage
Dim instance As GridSerializer
Dim customRowFilterOperators As IEnumerable(Of FilterComparisonOperator)
Dim objectBuilderFromSerialized As ObjectBuilderFromSerialized
instance.EnableRowFiltering(customRowFilterOperators, _
objectBuilderFromSerialized)
public void EnableRowFiltering(
IEnumerable<FilterComparisonOperator> customRowFilterOperators,
ObjectBuilderFromSerialized objectBuilderFromSerialized
)
Parameters
customRowFilterOperators
Type: System.Collections.Generic.IEnumerable<FilterComparisonOperator>An optional collection of comparison operators that can be referenced by their ID property in the RowFilter property’s XML value.
objectBuilderFromSerialized
Type: Microsoft.SharePoint.JSGrid.ObjectBuilderFromSerializedA delegate to create an object of the appropriate C# type, given a serialized data value. For instance, this delegate might take a string “4” and return a Int32 with the value 4.