Table of Contents

TTMSFNCDataGridColumns Class

Ordered collection of TTMSFNCDataGridColumn items that defines the column structure of the grid. Add, remove, or reorder columns at design or run time.

API unit family: TMSFNCDataGridRenderer Inherits from: TTMSFNCOwnedCollection

Syntax

TTMSFNCDataGridColumns = class(TTMSFNCOwnedCollection)

Properties

Name Description
Items Gets or sets the column at the given zero-based index.

Methods

Name Description
Add Appends a new column at the end of the collection and returns it.
ColumnByHeader Returns the first column whose Header text equals AHeader, or nil if not found.
ColumnByName Returns the first column whose Name property equals AName, or nil if not found.
Insert Inserts a new column at the given zero-based Index and returns it.