Table of Contents

TTMSFNCDataGrid.AddGrid Method

Embeds a nested sub-grid renderer in the specified cell and returns the renderer for further configuration.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Overloads

Overload 1

Embeds a nested sub-grid renderer in the specified cell and returns the renderer for further configuration.

function AddGrid(ACell: TTMSFNCDataGridCellCoord): TTMSFNCDataGridRenderer; overload;

Parameters

Name Description
ACell The cell coordinate where the sub-grid is embedded.

Returns

The TTMSFNCDataGridRenderer instance embedded in the cell.

Overload 2

Embeds a nested sub-grid renderer in the cell at the given column and row and returns the renderer for further configuration.

function AddGrid(AColumn, ARow: Integer): TTMSFNCDataGridRenderer; overload;

Parameters

Name Description
AColumn Zero-based column index of the target cell.
ARow Zero-based row index of the target cell.

Returns

The TTMSFNCDataGridRenderer instance embedded in the cell.