Table of Contents

TTMSFNCDataGridDataCustomCompareEvent Event Type

Object-method variant of the custom compare callback.

API unit family: TMSFNCDataGridData

Parameters

Name Description
Sender Data object requesting the comparison.
AColumn Zero-based column index being sorted.
ARow1 Zero-based row index of the first value.
ARow2 Zero-based row index of the second value.
AData1 Cell value from the first row.
AData2 Cell value from the second row.
ALevel Grouping level for which the comparison is requested.

Returns

Negative, zero, or positive value indicating the sort order.