Table of Contents

TTMSFNCDataGridData.OnCustomCompare Event

Fired during Sort to provide a custom row comparison.

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Syntax

OnCustomCompare: TTMSFNCDataGridDataCustomCompareEvent;

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.