Skip to content

TTMSFNCDataGridCore

Core class used in TTMSFNCDataGrid

Properties

Here is the sorted, alphabetically ordered list with duplicates removed and combined:

Properties

Property Description
ColumnCount The number of columns in the grid.
ColumnOrderDictionary A dictionary to store the column order.
ColumnOrders[AColumn: Integer] Gets the order of the specified column.
ColumnPositionDictionary A dictionary to store the column positions.
ColumnPositions[AColumn: Integer] Gets the position of the specified column.
ColumnReverseOrderDictionary A dictionary to store the reverse column orders.
ColumnReverseOrders[AColumn: Integer] Gets the reverse order of the specified column.
ColumnWidthDictionary A dictionary to store the widths of the columns.
ColumnWidths[AColumn: Integer] Gets or sets the width of the specified column.
DefaultColumnWidth The default width of the columns.
DefaultRowHeight The default height of the rows.
FilteredRowCount Gets the count of filtered rows.
FilteredRowDictionary A dictionary for filtered rows.
FilteredRows[ARow: Integer] Gets or sets whether the row is filtered.
FixedBottomRowCount The number of fixed rows at the bottom of the grid.
FixedColumnCount The number of fixed columns in the grid.
FixedRightColumnCount The number of fixed columns on the right of the grid.
FixedRowCount The number of fixed rows in the grid.
FreezeColumnCount The number of frozen columns in the grid.
FreezeRowCount The number of frozen rows in the grid.
HasRowOrder[ARow: Integer] Gets whether the specified row has an order.
HiddenColumnCount Gets the count of hidden columns.
HiddenColumnDictionary A dictionary to store hidden columns.
HiddenColumns[AColumn: Integer] Gets or sets whether the specified column is hidden.
HiddenColumnWidths[AColumn: Integer] Gets the width of the hidden column.
HiddenRowCount Gets the count of hidden rows.
HiddenRowDictionary A dictionary to store hidden rows.
HiddenRowHeights[ARow: Integer] Gets the height of the hidden row.
HiddenRows[ARow: Integer] Gets or sets whether the specified row is hidden.
IsExporting Indicates whether exporting is in progress.
MergedColumnDictionary A dictionary for merged columns.
MergedColumns[AColumn: Integer] Gets or sets whether the specified column is merged.
MergedRowDictionary A dictionary for merged rows.
MergedRows[ARow: Integer] Gets or sets whether the specified row is merged.
Name Gets or sets the name of the control.
RowCount The number of rows in the grid.
RowHeightDictionary A dictionary for row heights.
RowHeights[ARow: Integer] Gets or sets the height of the specified row.
RowOrderDictionary A dictionary to store row orders.
RowOrders[ARow: Integer] Gets the order of the specified row.
RowPositionDictionary A dictionary to store row positions.
RowPositions[ARow: Integer] Gets the position of the specified row.
RowReverseOrderDictionary A dictionary to store reverse row orders.
RowReverseOrders[ARow: Integer] Gets the reverse order of the specified row.
StartColumn Gets the index of the start column.
StartRow Gets the index of the start row.
StopColumn Gets the index of the stop column.
StopRow Gets the index of the stop row.
TotalColumnWidth Gets the total width of all columns.
TotalFixedBottomRowHeight Gets the height of all fixed bottom rows.
TotalFixedColumnWidth Gets the total width of all fixed columns.
TotalFixedRightColumnWidth Gets the width of all fixed right columns.
TotalFixedRowHeight Gets the total height of all fixed rows.
TotalRowHeight Gets the total height of all rows.
UpdateCount Gets the count of updates.
VisibleColumnCount Gets the count of visible columns.
VisibleRowCount Gets the count of visible rows.

Events

Event Description
OnCanLoadProperty Event triggered before loading a property.
OnCanSaveProperty Event triggered before saving a property.
OnLogMessage Event triggered when a log message is generated.

Methods

Method Description
AfterExport Called after the export process finishes.
BeforeExport Called before the export process starts.
BeginUpdate Begins an update operation. Prevents grid from being redrawn until EndUpdate is called.
ClearColumnInfo Clears information about columns.
ClearRowInfo Clears information about rows.
Clear Clears all data from the grid.
DisplayToRealCell(ACell: TTMSFNCDataGridCellCoord) Converts display cell coordinates to real cell coordinates.
DisplayToRealColumn(AColumn: Integer) Converts display column to real column index.
DisplayToRealRow(ARow: Integer) Converts display row to real row index.
EndUpdate Ends an update operation. Resumes grid drawing after BeginUpdate is called.
ExportNotification Handles export notification with state and row.
HideColumn(AColumn: Integer) Hides the specified column.
HideRow(ARow: Integer) Hides the specified row.
ImportNotification Handles import notification with state and row.
IsAppearanceProperty(AObject: TObject; APropertyName: string; APropertyType: TTypeKind) Checks if a property is related to appearance.
IsCellDisabled(ACell: TTMSFNCDataGridCellCoord) Checks if the specified cell is disabled.
IsCellFixed(ACell: TTMSFNCDataGridCellCoord) Checks if the specified cell is fixed.
IsCellFixedRoot(ACell: TTMSFNCDataGridCellCoord) Checks if the specified cell is a fixed root.
IsCellFreeze(ACell: TTMSFNCDataGridCellCoord) Checks if the specified cell is frozen.
IsCellFreezeFixed(ACell: TTMSFNCDataGridCellCoord) Checks if the specified cell is a frozen fixed cell.
IsCellFreezeRoot(ACell: TTMSFNCDataGridCellCoord) Checks if the specified cell is a frozen root cell.
IsCellValid(ACell: TTMSFNCDataGridCellCoord) Checks if the specified cell is valid.
IsCellValid(AColumn, ARow: Integer) Checks if the cell at the specified column and row is valid.
IsCellVisible(ACell: TTMSFNCDataGridCellCoord) Checks if the specified cell is visible.
IsColumnHidden(AColumn: Integer) Checks if the specified column is hidden.
IsColumnMerged(AColumn: Integer) Checks if the specified column is merged.
IsColumnValid(AColumn: Integer) Checks if the specified column is valid.
IsRowFiltered(ARow: Integer) Checks if the specified row is filtered.
IsRowHidden(ARow: Integer) Checks if the specified row is hidden.
IsRowMerged(ARow: Integer) Checks if the specified row is merged.
IsRowValid(ARow: Integer) Checks if the specified row is valid.
LoadSettingsFromFile(AFileName: string) Loads settings from a file.
LoadSettingsFromStream(AStream: TStream) Loads settings from a stream.
LogMessage Logs a message with an optional message type.
LoopThroughColumns(ALoopCallback: TTMSFNCDataGridLoopColumnsCallback; AIncludeFixed: Boolean = True) Loops through all columns optionally including fixed columns and calls the callback with the column index.
LoopThroughRows(ALoopCallback: TTMSFNCDataGridLoopRowsCallback; AIncludeFixed: Boolean = True) Loops through all rows optionally including fixed rows and calls the callback with the row index.
RealToDisplayCell(ACell: TTMSFNCDataGridCellCoord) Converts real cell coordinates to display cell coordinates.
RealToDisplayColumn(AColumn: Integer) Converts real column index to display column index.
RealToDisplayRow(ARow: Integer) Converts real row index to display row index.
SaveSettingsToFile(AFileName: string; AAppearanceOnly: Boolean = False) Saves settings to a file.
SaveSettingsToStream(AStream: TStream; AAppearanceOnly: Boolean = False) Saves settings to a stream.
SaveToBMP(AFileName: string) Saves the grid to a BMP file.
SaveToHTML(AFileName: string; AEncoding: TEncoding) Saves the grid to an HTML file with the specified encoding.
SaveToHTMLStream(AStream: TStream) Saves the grid to an HTML stream.
SaveToHTMLStream(AStream: TStream; AEncoding: TEncoding) Saves the grid to an HTML stream with the specified encoding.
SaveToImage(AFileName: string) Saves the grid to an image file.
SaveToImageStream(AStream: TStream) Saves the grid to an image stream.
Scroll(AHorizontalPos, AVerticalPos: Double) Scrolls to the specified positions.
SelectAllCells Selects all cells.
SelectCell(ACell: TTMSFNCDataGridCellCoord; AShift: TShiftState = []; AMouseDragging: Boolean = False) Selects the specified cell.
SelectColumns(AFromColumn, AToColumn: Integer) Selects the specified columns.
SelectRows(AFromRow, AToRow: Integer) Selects the specified rows.
SetBitmap(ACell: TTMSFNCDataGridCellCoord; ABitmap: TTMSFNCBitmap) Sets a bitmap to the specified cell.
SetBitmap(ACell: TTMSFNCDataGridCellCoord; AName: string) Sets a bitmap with the specified name to the cell.
SetBitmap(AColumn, ARow: Integer; ABitmap: TTMSFNCBitmap) Sets a bitmap to the specified cell.
SetBitmap(AColumn, ARow: Integer; AName: string) Sets a bitmap with the specified name to the cell.
SetBitmapColumn(AColumn: Integer; ABitmap: TTMSFNCBitmap) Sets a bitmap to all cells in the specified column.
SetBitmapRow(ARow: Integer; ABitmap: TTMSFNCBitmap) Sets a bitmap to all cells in the specified row.
SetCell(ACell: TTMSFNCDataGridCellCoord; AValue: Variant) Sets the value of the specified cell.
SetCell(AColumn, ARow: Integer; AValue: Variant) Sets the value of the specified cell.
SetCellColumn(AColumn: Integer; AValue: Variant) Sets the value of all cells in the specified column.
SetCellEditor(ACell: TTMSFNCDataGridCellCoord; AEditor: TTMSFNCDataGridCellEditor) Sets the editor for the specified cell.
SetCellEditor(AColumn, ARow: Integer; AEditor: TTMSFNCDataGridCellEditor) Sets the editor for the specified cell.
SetCellEditorColumn(AColumn: Integer; AEditor: TTMSFNCDataGridCellEditor) Sets the editor for all cells in the specified column.
SetCellEditorRow(ARow: Integer; AEditor: TTMSFNCDataGridCellEditor) Sets the editor for all cells in the specified row.
SetCellRow(ARow: Integer; AValue: Variant) Sets the value of all cells in the specified row.
SetColumn(AColumn: Integer; AValue: Variant) Sets the value of the specified column.
SetLocalRect Sets the local rectangle for rendering.
SetRow(ARow: Integer; AValue: Variant) Sets the value of the specified row.
SetValue(ACell: TTMSFNCDataGridCellCoord; AValue: Variant) Sets the value of the specified cell.
SetValue(AColumn, ARow: Integer; AValue: Variant) Sets the value of the specified cell.
StretchColumns Stretches columns based on the provided mode and range.
StretchRows Stretches rows based on the provided mode and range.
UnhideAllColumns Unhides all columns.
UnhideAllRows Unhides all rows.
UnhideAll Unhides all rows and columns.
UnhideColumn(AColumn: Integer) Unhides the specified column.
UnhideRow(ARow: Integer) Unhides the specified row.
UpdateColumnRowCalculations Updates calculations related to columns and rows.
UpdateVisualRange Updates the visible range of the grid.
Update Forces the grid to update its appearance.