TTMSFNCDataGridRowItem Class
Storage object for one grid row: its row type, tree-node information, index, and sparse cell dictionary.
API unit family: TMSFNCDataGridCell
Inherits from: TPersistent
Syntax
TTMSFNCDataGridRowItem = class(TPersistent)
class PASCALIMPLEMENTATION TTMSFNCDataGridRowItem : public System::Classes::TPersistent
Remarks
The grid creates and frees row items itself; application code normally reads row information through the grid instead. The row item owns its Data dictionary, which in turn owns the cell items.
Properties
| Name | Description |
|---|---|
| Data | Sparse dictionary of the cell items of this row, keyed by zero-based column index. |
| NodeChildCount | Number of child rows that belong to this row when it is a node row. |
| NodeLevel | Nesting depth of this row in the node hierarchy; 0 is the root level. |
| NodeState | Expanded or collapsed state of the node represented by this row. |
Methods
| Name | Description |
|---|---|
| HasData | Returns True when the cell dictionary of this row has been created. |
| Init | Resets the row metadata: type grtDefault, node child count and level 0, node state grnsExpanded, and index -1. |