Table of Contents

User Guide

Use these chapters when you want to solve a task with TTMSFNCDataGrid. Class names in the guide link to the API reference where the corresponding public properties, methods, and events are documented.

Getting Started

Chapter Covers
Getting started Creating the grid, setting row and column counts, filling basic cells.

Architecture

Chapter Covers
Three-layer design How the component, core, data, and renderer layers fit together.
Cells, columns and coordinates Physical, display, visible, fixed, frozen, hidden, and filtered coordinates.
Value types & records TTMSFNCDataGridCellCoord, CellCoordRange, CellValue (TValue), CellMergeInfo, CellState, CellKind, and the MakeCell/MakeCellRange helpers.
Data, formatting and conversion TValue storage, display conversion, formatting hooks, typed getters.
Layout priority Static cell appearance, state layouts, and dynamic layout events.

Data

Chapter Covers
Data binding Binding datasets through the database adapter.
Master-detail Side-by-side detail grids and inline detail controls.
Sorting User sorting, programmatic sorting, multi-column sorting, custom compare.
Filtering Programmatic filters and filter dropdown configuration.
Filter row In-grid filter editors.
Advanced filtering Filter builder expressions, filter actions, custom filter editors, lifecycle events.
Grouping Group rows, nested groups, summaries, and visual grouping.
Calculations Built-in and custom calculations for rows and columns.
Tree mode Expandable/collapsible node rows, nesting levels, lazy loading.

Editing And Input

Chapter Covers
Editing cells Editor types, editor data, custom editors, validation hooks.
Inplace editor events Editor open/close, value-transfer events, validation, keyboard lookup.
Autofill Excel-style autofill and custom fill lists.
Selection Selection modes, ranges, selected rows and columns, events.
Clipboard Copy, cut, paste, and paste behavior options.
Keyboard and mouse Navigation keys, shortcuts, mouse behavior, lookup/typeahead.
Context menus Cell popup menus and right-click handling.
Drag and drop Row/column dragging, external dragging, file drops, columns editor.
Find and replace Dialogs, programmatic search, and replace events.

Display And Cells

Chapter Covers
Appearance and theming Grid-wide, column, and cell appearance.
Custom cells Subclassing cells and wiring custom rendering.
Drawing and grid events Empty-space drawing, grid overlays, append/insert events.
Cell controls Embedded controls, buttons, checkboxes, nested grids.
Merging cells Merge and split operations.
HTML, anchors and highlighting Supported HTML, clickable anchors, marks, highlights.
Hints and comments Tooltips, comments, indicators, and popup text.
Custom icons Sort, filter, tree, grouping, and paging icons.

Layout

Chapter Covers
Column management Columns collection, hiding, resizing, reordering, freezing, stretching.
Headers, footers and buttons Visual column grouping, header buttons, footer buttons.
Scrolling and scroll bars Scroll modes, custom scroll bars, external scroll bars, wheel/touch behavior.
Paging Built-in paging controls and programmatic page navigation.

Import And Export

Chapter Covers
Import and export (XLS) XLS/XLSX import, export, sheet offsets, sheet discovery.
Import and export (CSV) CSV load/save, delimiters, quoting, streaming.
Import (JSON) Load JSON from file, stream, or string; map object keys to columns.
Export (HTML) Export visible grid content as an HTML table to file or stream.
PDF export Page settings, headers, footers, page breaks.
Printing Printer output, scaling, headers, and page breaks.

Localization And Performance

Chapter Covers
Localization Filter UI strings, dialog strings, and columns editor strings.
Large datasets Bulk loading, update batching, buffered loading, paging, profiling.
Headless data layer Using TTMSFNCDataGridData standalone for background processing, batch export, and code-only pipelines.
Renderer source Rendering a grid from an external TTMSFNCDataGridRendererSource layer and switching layers at runtime.