GridField.CustomComparer property
Gets or sets a custom delegate to use for sorting, grouping and filtering, if the built-in system comparison is not adequate.
Namespace: Microsoft.SharePoint.JSGrid
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property CustomComparer As ValueComparer
Get
Set
'Usage
Dim instance As GridField
Dim value As ValueComparer
value = instance.CustomComparer
instance.CustomComparer = value
public ValueComparer CustomComparer { get; set; }
Property value
Type: Microsoft.SharePoint.JSGrid.ValueComparer
IComparer<T> is a delegate for comparing two single values.
Remarks
Will only compare two single values, even if the field is multi-value.