@guiexpert/table · TypeScript API
Every class, interface and option of the core – with examples that are compiled against the real code. The framework packages are thin wrappers around exactly this API.
The most important types, grouped like the reference. Each group links to the chapters of the training that use them.
Create a table and control it.
TableScope – creates and runs a table in a host elementTableApi – scroll, sort, filter, copy, export, update cellsTableScope.destroy() – release a table (listeners, observers, renderers)From your data to a model.
TableFactory – createTableModel, buildByTypedRows, createByAreaModelsCreateTableModelPara – all parameters of createTableModelTableModelIf – header, body, footer + columns + fixed columnsHeader, body and footer – or a model of your own.
AreaModelIf – what the table asks: row count, values, heights, spans, stylesAreaModel – base class for own models (millions of rows, totals, server data)AreaModelObjectArray – objects – filtered and sorted rowsAreaModelArrayOfArrays – rows of valuesLabel, width, alignment, renderers, sorting, editing.
ColumnDef – new ColumnDef(…) and ColumnDef.create({ … })ColumnDefIf – every field of a columnSize – px, % and weight widths – constants px0 … px500Behaviour and look of a table.
TableOptions – all defaults – use { ...new TableOptions(), … }TableOptionsIf – every option explainedAutoRestoreOptions – remember sorting, scroll position, open nodesReact to what the user does.
EventAdapter – override only the events you needGeMouseEvent – area, row, column, click count, browser eventSelectionModel – cells, rows, columns or rangesShortcutService – keyboard shortcuts and actionsHow cells look.
CellRendererIf – an own renderer in one methodNumberCellProgressBarCellRenderer – one of the built-in renderersGeCssColorUtil – colour gradients for heatmapsCssVars – the --ge-table-* CSS variablesThe rest of the toolbox.
TreeFactory – hierarchical data → tree rowsAreaModelCellGroups – grouped, collapsible headersExcelService – .xlsx without a libraryTableCellUpdateEvent – live updates of single cells