TTMSFNCDataGridColumnsEditor Class
Non-visual component that shows a dialog for showing and hiding grid columns at run time.
API unit family: TMSFNCDataGridColumnsEditor
Inherits from: TTMSFNCCustomDataGridColumnsEditor
Syntax
TTMSFNCDataGridColumnsEditor = class(TTMSFNCCustomDataGridColumnsEditor)
class PASCALIMPLEMENTATION TTMSFNCDataGridColumnsEditor : public TTMSFNCCustomDataGridColumnsEditor
Remarks
Usually not needed: call TTMSFNCCustomDataGrid.ShowColumnsEditor to use the grid's built-in instance, or customize that instance through TTMSFNCCustomDataGrid.ColumnsEditor. Drop this component only when a separately configured dialog is wanted; then assign Renderer and call Execute.
Properties
| Name | Description |
|---|---|
| Options | Options controlling which columns are listed, drag-and-drop, and captions. Assigning copies the values. (inherited from TTMSFNCCustomDataGridColumnsEditor) |
| Renderer | Renderer whose columns the dialog lists and changes. Assign the grid's root renderer (Grid.Root) before calling Execute. (inherited from TTMSFNCCustomDataGridColumnsEditor) |
Methods
| Name | Description |
|---|---|
| Execute | Opens the dialog. (inherited from TTMSFNCCustomDataGridColumnsEditor) |
| UpdateList | Rebuilds the list from the current columns of Renderer. (inherited from TTMSFNCCustomDataGridColumnsEditor) |