Contents - Index - Previous - Next


DefaultCompareCells method



Applies to
TProfGrid component

Declaration
function DefaultCompareCells(Cell1, Cell2: TProfGridCell): Integer;

Description

Provides access to the default comparison function of the grid.

The method may be called from an application-defined OnCompareCells event handler. This is useful when you need to implement a custom sorting only for some columns (or cells) and forward the processing of other columns (or cells) to the default built-in comparison function.