TTMSFNCDataGrid.SetGrid Method
Replaces the cell content with a nested sub-grid renderer and returns the renderer. Use when the cell already exists.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCDataGrid
Inherited from: TTMSFNCCustomDataGrid
Overloads
Overload 1
Replaces the cell content with a nested sub-grid renderer and returns the renderer. Use when the cell already exists.
function SetGrid(ACell: TTMSFNCDataGridCellCoord): TTMSFNCDataGridRenderer; overload;
Parameters
| Name | Description |
|---|---|
ACell |
Cell coordinate to replace. |
Returns
The TTMSFNCDataGridRenderer instance set for the cell.
Overload 2
Replaces the cell content at the given column and row with a nested sub-grid renderer and returns the renderer.
function SetGrid(AColumn, ARow: Integer): TTMSFNCDataGridRenderer; overload;
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based column index. |
ARow |
Zero-based row index. |
Returns
The TTMSFNCDataGridRenderer instance set for the cell.