TTMSFNCDataGridRenderer.OnGetCellClass Event
Fired for each cell to let the application supply a custom cell class.
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridRenderer
Syntax
OnGetCellClass: TTMSFNCDataGridGetCellClassEvent;
__property TTMSFNCDataGridGetCellClassEvent OnGetCellClass = {read=FOnGetCellClass, write=FOnGetCellClass};
Remarks
Fires whenever a cell object is created, including through CreateCell. Assign a descendant of TTMSFNCDataGridCell to ACellClass to customise drawing or behaviour; setting it to nil means no cell object is created.
Parameters
| Name | Description |
|---|---|
Sender |
Renderer that fired the event. |
AColumn |
Zero-based column index of the cell. |
ARow |
Zero-based row index of the cell. |
ACellClass |
Cell class to instantiate for the cell. |