| &Export(AGraphics: TTMSFNCGraphics) |
Exports the grid using the specified graphics object. |
| &Export(AGraphics: TTMSFNCGraphics; ARect: TRectF; ASelection: TTMSFNCDataGridCellCoordRange; ARepeatFixedColumns: Boolean = False; ARepeatFixedRows: Boolean = False; AFitToPage: Boolean = True; ASkipSaveBounds: Boolean = False; AOnNewPage: TTMSFNCDataGridRendererExportNewPageCallback = nil; AOnGetPageIndex: TTMSFNCDataGridRendererExportGetPageIndexCallback = nil) |
Exports the grid using the specified graphics object with additional parameters. |
| AddBitmap(ACell: TTMSFNCDataGridCellCoord; ABitmap: TTMSFNCBitmap) |
Adds a bitmap to the specified cell. |
| AddBitmap(ACell: TTMSFNCDataGridCellCoord; AName: string) |
Adds a bitmap with the specified name to the cell. |
| AddBitmap(AColumn, ARow: Integer; ABitmap: TTMSFNCBitmap) |
Adds a bitmap to the specified cell. |
| AddBitmap(AColumn, ARow: Integer; AName: string) |
Adds a bitmap with the specified name to the cell. |
| AddBitmapColumn(AColumn: Integer; ABitmap: TTMSFNCBitmap) |
Adds a bitmap column with the specified bitmap. |
| AddBitmapColumn(AColumn: Integer; AName: string) |
Adds a bitmap column with the specified name. |
| AddButton(ACell: TTMSFNCDataGridCellCoord; AText: string = '') |
Adds a button to the specified cell. |
| AddButton(AColumn, ARow: Integer; AText: string = '') |
Adds a button to the specified cell. |
| AddButtonColumn(AColumn: Integer; AText: string = '') |
Adds a button column with the specified text. |
| AddCheckBox(ACell: TTMSFNCDataGridCellCoord; AValue: Boolean = False) |
Adds a checkbox to the specified cell. |
| AddCheckBox(AColumn, ARow: Integer; AValue: Boolean = False) |
Adds a checkbox to the specified cell. |
| AddCheckBoxColumn(AColumn: Integer; AValue: Boolean = False) |
Adds a checkbox column with the specified value. |
| AddDataCheckBox(ACell: TTMSFNCDataGridCellCoord) |
Adds a data checkbox to the specified cell. |
| AddDataCheckBox(AColumn, ARow: Integer) |
Adds a data checkbox to the specified cell. |
| AddDataCheckBoxColumn(AColumn: Integer) |
Adds a data checkbox column. |
| AddDataProgressBar(ACell: TTMSFNCDataGridCellCoord) |
Adds a data progress bar to the specified cell. |
| AddDataProgressBar(AColumn, ARow: Integer) |
Adds a data progress bar to the specified cell. |
| AddDataProgressBarColumn(AColumn: Integer) |
Adds a data progress bar column. |
| AddDataRadioButton(ACell: TTMSFNCDataGridCellCoord; AValue: Boolean = False; AGroupIndex: Integer = 0) |
Adds a data radio button to the specified cell. |
| AddDataRadioButton(AColumn, ARow: Integer; AValue: Boolean = False; AGroupIndex: Integer = 0) |
Adds a data radio button to the specified cell. |
| AddDataRadioButtonColumn(AColumn: Integer; AValue: Boolean = False; AGroupIndex: Integer = 0) |
Adds a data radio button column. |
| AddGrid(ACell: TTMSFNCDataGridCellCoord) |
Adds a grid to the specified cell. |
| AddGrid(AColumn, ARow: Integer) |
Adds a grid to the specified cell. |
| AddProgressBar(ACell: TTMSFNCDataGridCellCoord; AValue: Integer = 0) |
Adds a progress bar to the specified cell. |
| AddProgressBar(AColumn, ARow: Integer; AValue: Integer = 0) |
Adds a progress bar to the specified cell. |
| AddProgressBarColumn(AColumn: Integer; AValue: Integer = 0) |
Adds a progress bar column. |
| AddRadioButton(ACell: TTMSFNCDataGridCellCoord; AValue: Boolean = False; AGroupIndex: Integer = 0) |
Adds a radio button to the specified cell. |
| AddRadioButton(AColumn, ARow: Integer; AValue: Boolean = False; AGroupIndex: Integer = 0) |
Adds a radio button to the specified cell. |
| AddRadioButtonColumn(AColumn: Integer; AValue: Boolean = False; AGroupIndex: Integer = 0) |
Adds a radio button column. |
| AfterExport |
Called after exporting. |
| ApplyExportScale(AScale: Single) |
Applies the export scale. |
| ApplyStyle |
Applies the style. |
| AutoSizeColumn(AColumn: Integer; const AMode: TTMSFNCDataGridAutoSizeMode = gamAllCells; const APadding: Integer = 5) |
Auto-sizes the specified column. |
| AutoSizeColumns(const AMode: TTMSFNCDataGridAutoSizeMode = gamAllCells; const APadding: Integer = 5) |
Auto-sizes all columns. |
| AutoSizeGrid(const AMode: TTMSFNCDataGridAutoSizeMode = gamAllCells; const APaddingColumn: Integer = 5; const APaddingRow: Integer = 5) |
Auto-sizes the grid. |
| AutoSizeRow(ARow: Integer; const AMode: TTMSFNCDataGridAutoSizeMode = gamAllCells; const APadding: Integer = 5) |
Auto-sizes the specified row. |
| AutoSizeRows(const AMode: TTMSFNCDataGridAutoSizeMode = gamAllCells; const APadding: Integer = 5) |
Auto-sizes all rows. |
| BeforeExport |
Called before exporting. |
| Calculate |
Calculates the grid layout. |
| ChangeDPIScale(M, D: Integer) |
Changes the DPI scale. |
| ClearSelection |
Clears the selection. |
| CopyToClipboard(ASelectedCells: Boolean = True) |
Copies the selected cells to the clipboard. |
| CutToClipboard(ASelectedCells: Boolean = True) |
Cuts the selected cells to the clipboard. |
| Display |
Displays the grid. |
| Draw(AGraphics: TTMSFNCGraphics) |
Draws the grid using the specified graphics object. |
| EditCell(ACell: TTMSFNCDataGridCellCoord; ACellStart: TTMSFNCDataGridEditCellStart = gcsNone; AInsertKey: Boolean = False; AValue: string = ''; AKey: Word = 0) |
Edits the specified cell. |
| ExportNotification(AState: TTMSFNCDataGridExportState; ARow: Integer) |
Sends a notification during export. |
| FirstPage |
Navigates to the first page of the dataset. |
| Focus |
Focuses the grid. |
| GetPageIndexForRow(ARow: Integer) |
Returns the page index for the specified row. |
| GetPageScrollSize |
Returns the number of rows per page based on current view settings. |
| GetPageScrollSizeByPageIndex(AIndex: Integer) |
Returns the number of rows for a specific page index. |
| GetRowForPageIndex(APageIndex: Integer) |
Returns the first row index for the specified page. |
| GoToCell(ACell: TTMSFNCDataGridCellCoord; ASelect: Boolean = True) |
Navigates to the specified cell. |
| GoToFirstPage |
Alternative method to navigate to the first page. |
| GoToLastPage |
Alternative method to navigate to the last page. |
| GoToPage(APageIndex: Integer) |
Navigates to the specified page index (0-based). |
| HandleEnter |
Handles the enter event. |
| HandleExit |
Handles the exit event. |
| HandleKey(var AKeyInfo: TTMSFNCDataGridKeyInfo) |
Handles a key event. |
| HandleMouse(var AMouseInfo: TTMSFNCDataGridMouseInfo) |
Handles a mouse event. |
| HilightCells(AHilightText: string; AOptions: TTMSFNCDataGridHilightOptions) |
Highlights the specified cells. |
| HilightText(ACaseSensitive: Boolean; AValue, AText: string) |
Highlights the specified text. |
| IsCellDisplay(ADisplay: TTMSFNCDataGridDisplayList) |
Checks if the cell is in display. |
| IsCellReadOnly(ACell: TTMSFNCDataGridCellCoord) |
Checks if the cell is read-only. |
| IsCellSelected(ACell: TTMSFNCDataGridCellCoord) |
Checks if the cell is selected. |
| IsEditing |
Checks if the grid is in editing mode. |
| IsFixedCellSelected(ACell: TTMSFNCDataGridCellCoord) |
Checks if the fixed cell is selected. |
| LastPage |
Navigates to the last page of the dataset. |
| Lookup(AValue: string; AAllRows: Boolean = False; AAutoGoto: Boolean = False) |
Looks up a value in the grid. |
| LookupInColumn(AColumn: Integer; AValue: string; AAllRows: Boolean = False; AAutoGoto: Boolean = False) |
Looks up a value in the specified column. |
| LookupInColumnFromRow(AColumn, ARow: Integer; AValue: string; AAllRows: Boolean = False; AAutoGoto: Boolean = False) |
Looks up a value in the specified column starting from the specified row. |
| MarkCells(AHilightText: string; AOptions: TTMSFNCDataGridMarkOptions) |
Marks the specified cells. |
| MarkText(ACaseSensitive: Boolean; AValue, AText: string) |
Marks the specified text. |
| Navigate(ACell: TTMSFNCDataGridCellCoord; AForceScroll: Boolean = False; AIgnoreColumn: Boolean = False; AIgnoreRow: Boolean = False) |
Navigates to the specified cell. |
| NextPage |
Moves to the next page. Does nothing if already on the last page. |
| NextSelectableColumn(AColumn, ARow: Integer) |
Gets the next selectable column. |
| NextSelectableRow(AColumn, ARow: Integer) |
Gets the next selectable row. |
| NextVisibleColumn(AColumn, ARow: Integer) |
Gets the next visible column. |
| NextVisibleRow(AColumn, ARow: Integer) |
Gets the next visible row. |
| PasteFromClipboard |
Pastes from the clipboard. |
| PreviousPage |
Moves to the previous page. Does nothing if already on the first page. |
| PreviousSelectableColumn(AColumn, ARow: Integer) |
Gets the previous selectable column. |
| PreviousSelectableRow(AColumn, ARow: Integer) |
Gets the previous selectable row. |
| PreviousVisibleColumn(AColumn, ARow: Integer) |
Gets the previous visible column. |
| PreviousVisibleRow(AColumn, ARow: Integer) |
Gets the previous visible row. |
| RegisterRuntimeClasses |
Registers runtime classes. |
| RemoveBitmap(ACell: TTMSFNCDataGridCellCoord) |
Removes the bitmap from the specified cell. |
| RemoveBitmap(AColumn, ARow: Integer) |
Removes the bitmap from the specified cell. |
| RemoveButton(ACell: TTMSFNCDataGridCellCoord) |
Removes the button from the specified cell. |
| RemoveButton(AColumn, ARow: Integer) |
Removes the button from the specified cell. |
| RemoveCheckBox(ACell: TTMSFNCDataGridCellCoord) |
Removes the checkbox from the specified cell. |
| RemoveCheckBox(AColumn, ARow: Integer) |
Removes the checkbox from the specified cell. |
| RemoveDataCheckBox(ACell: TTMSFNCDataGridCellCoord) |
Removes the data checkbox from the specified cell. |
| RemoveDataCheckBox(AColumn, ARow: Integer) |
Removes the data checkbox from the specified cell. |
| RemoveDataProgressBar(ACell: TTMSFNCDataGridCellCoord) |
Removes the data progress bar from the specified cell. |
| RemoveDataProgressBar(AColumn, ARow: Integer) |
Removes the data progress bar from the specified cell. |
| RemoveDataRadioButton(ACell: TTMSFNCDataGridCellCoord) |
Removes the data radio button from the specified cell. |
| RemoveDataRadioButton(AColumn, ARow: Integer) |
Removes the data radio button from the specified cell. |
| RemoveGrid(ACell: TTMSFNCDataGridCellCoord) |
Removes the grid from the specified cell. |
| RemoveGrid(AColumn, ARow: Integer) |
Removes the grid from the specified cell. |
| RemoveLayout(ACell: TTMSFNCDataGridCellCoord) |
Removes the layout from the specified cell. |
| RemoveLayout(AColumn, ARow: Integer) |
Removes the layout from the specified cell. |
| RemoveProgressBar(ACell: TTMSFNCDataGridCellCoord) |
Removes the progress bar from the specified cell. |
| RemoveProgressBar(AColumn, ARow: Integer) |
Removes the progress bar from the specified cell. |
| RemoveRadioButton(ACell: TTMSFNCDataGridCellCoord) |
Removes the radio button from the specified cell. |
| RemoveRadioButton(AColumn, ARow: Integer) |
Removes the radio button from the specified cell. |
| ResetExportScale |
Resets the export scale. |
| ResetToDefaultStyle |
Resets to the default style. |
| RestoreScrollPosition |
Restores the scroll position. |
| SaveScrollPosition |
Saves the scroll position. |
| SaveToHTMLData(AFileName: string) |
Saves the grid to an HTML file. |
| SaveToHTMLData(AFileName: string; AEncoding: TEncoding) |
Saves the grid to an HTML file with the specified encoding. |
| SaveToHTMLStreamData(AStream: TStream) |
Saves the grid to an HTML stream. |
| SaveToHTMLStreamData(AStream: TStream; AEncoding: TEncoding) |
Saves the grid to an HTML stream with the specified encoding. |
| SaveToImageData(AFileName: string) |
Saves the grid to an image file. |
| SaveToImageStreamData(AStream: TStream) |
Saves the grid to an image stream. |
| Scroll(AHorizontalPos, AVerticalPos: Double) |
Scrolls to the specified positions. |
| SelectAllCells(AIncludeHidden: Boolean = True) |
Selects all cells, optionally exclude hidden cells (only possible for disjunct selection modes). |
| 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 column with the specified bitmap. |
| SetBitmapColumn(AColumn: Integer; AName: string) |
Sets a bitmap column with the specified name. |
| SetButton(ACell: TTMSFNCDataGridCellCoord; AText: string = '') |
Sets a button to the specified cell. |
| SetButton(AColumn, ARow: Integer; AText: string = '') |
Sets a button to the specified cell. |
| SetButtonColumn(AColumn: Integer; AText: string = '') |
Sets a button column with the specified text. |
| SetCheckBox(ACell: TTMSFNCDataGridCellCoord; AValue: Boolean = False) |
Sets a checkbox to the specified cell. |
| SetCheckBox(AColumn, ARow: Integer; AValue: Boolean = False) |
Sets a checkbox to the specified cell. |
| SetCheckBoxColumn(AColumn: Integer; AValue: Boolean = False) |
Sets a checkbox column with the specified value. |
| SetDataCheckBox(ACell: TTMSFNCDataGridCellCoord) |
Sets a data checkbox to the specified cell. |
| SetDataCheckBox(AColumn, ARow: Integer) |
Sets a data checkbox to the specified cell. |
| SetDataCheckBoxColumn(AColumn: Integer) |
Sets a data checkbox column. |
| SetDataProgressBar(ACell: TTMSFNCDataGridCellCoord) |
Sets a data progress bar to the specified cell. |
| SetDataProgressBar(AColumn, ARow: Integer) |
Sets a data progress bar to the specified cell. |
| SetDataProgressBarColumn(AColumn: Integer) |
Sets a data progress bar column. |
| SetDataRadioButton(ACell: TTMSFNCDataGridCellCoord; AValue: Boolean = False; AGroupIndex: Integer = 0) |
Sets a data radio button to the specified cell. |
| SetDataRadioButton(AColumn, ARow: Integer; AValue: Boolean = False; AGroupIndex: Integer = 0) |
Sets a data radio button to the specified cell. |
| SetDataRadioButtonColumn(AColumn: Integer; AValue: Boolean = False; AGroupIndex: Integer = 0) |
Sets a data radio button column. |
| SetGrid(ACell: TTMSFNCDataGridCellCoord) |
Sets a grid to the specified cell. |
| SetGrid(AColumn, ARow: Integer) |
Sets a grid to the specified cell. |
| SetLocalRect(ARect: TRectF) |
Sets the local rectangle. |
| ShowFindDialog |
Shows the find dialog. |
| ShowReplaceDialog |
Shows the replace dialog. |
| StopEditing |
Stops editing. |
| UnhilightCells(AOptions: TTMSFNCDataGridHilightOptions) |
Unhighlights the specified cells. |
| UnhilightText(ACaseSensitive: Boolean; AValue: string) |
Unhighlights the specified text. |
| UnmarkCells(AOptions: TTMSFNCDataGridMarkOptions) |
Unmarks the specified cells. |
| UnmarkText(AValue: string) |
Unmarks the specified text. |
| Update |
Updates the grid. |
| XYToCell(X, Y: Double) |
Gets the cell at the specified coordinates. |
| XYToColumn(X, Y: Double) |
Gets the column at the specified coordinates. |
| XYToRenderer(X, Y: Double) |
Gets the renderer at the specified coordinates. |
| XYToRow(X, Y: Double) |
Gets the row at the specified coordinates. |