TTMSFNCDataGridRenderer.AddDataCheckBox Method
Adds a data checkbox cell at the specified cell coordinate: the check state is derived from, and written to, the cell value itself.
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridRenderer
Overloads
Overload 1
Adds a data checkbox cell at the specified cell coordinate: the check state is derived from, and written to, the cell value itself.
procedure AddDataCheckBox(ACell: TTMSFNCDataGridCellCoord); overload;
void __fastcall AddDataCheckBox(const TTMSFNCDataGridCellCoord &ACell)/* overload */;
Remarks
The cell reads as checked when its text equals the column's Binding.BooleanTrueValue. Use this for Boolean data (for example a Boolean dataset field). Invalid coordinates are ignored. Same as SetDataCheckBox.
Parameters
| Name | Description |
|---|---|
ACell |
Cell coordinate that receives the data checkbox cell. |
Overload 2
Adds a data-bound checkbox cell at the specified column and row.
procedure AddDataCheckBox(AColumn, ARow: Integer); overload;
void __fastcall AddDataCheckBox(int AColumn, int ARow)/* overload */;
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based column index that receives the data-bound checkbox cell. |
ARow |
Zero-based row index that receives the data-bound checkbox cell. |