Version

CompareFunc Method (GroupByColumnSettingWrapper)

The name of the function as a string located in the global window object - used for custom comparison. The function accepts the following arguments: val1 - the first value to compare val2 - the second value to compare recordsData (optional) - an object having three properties: fieldName - the name of the sorted field; record1 - first record to compare; record2 - second record to compare The function returns the following numeric value: 0 - indicating that values are equal 1 - indicating that val1 $gt; val2 -1 - indicating that val1 $lt; val2
Syntax
'Declaration
 
Public Function CompareFunc( _
   ByVal compareFunc As System.String _
) As GroupByColumnSettingWrapper
public GroupByColumnSettingWrapper CompareFunc( 
   System.string compareFunc
)

Parameters

compareFunc
The compare function.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, 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

View on GitHub