Skip to content
OGE logoOGE

Data Grid API

Complete API reference for @oge-ui/grid — inputs, two-way models, imperative methods, the full event surface and the supporting types, compiled from the source TSDoc. Feature guides live on the demo pages.

Properties Methods Events Types

OgeGrid

oge-grid

Properties 66

Data & columns

Name Type DefaultDescription
datareadonly T[] | DataSource<T>[]Rows to render: a static array or any DataSource implementation (remote, OData…).
columnsreadonly (string | OgeColumnDef<T>)[] | undefined—Programmatic columns: field names or OgeColumnDef objects carrying every <oge-column> option (templates as TemplateRefs). The way to share columns through a wrapper component — Angular content queries never see columns projected through another component. Used only when no declarative children exist; when both are absent, columns derive from the first row.
keyFieldkeyof T | ((row: T) => RowKey) | undefined—Field (or selector) producing a stable row key; falls back to the row index.

Sorting, filtering & search

Name Type DefaultDescription
sortableboolean | 'single' | 'multi''multi'false disables sorting; 'single' restricts to one column.
sortingOgeSortingOptions | undefined—Sorting options; overrides the sortable shorthand.
filterRowboolean | OgeFilterRowOptionsfalsePer-column filter editors below the header.
headerFilterboolean | OgeHeaderFilterOptionsfalseExcel-style filter button in headers. The value list comes from source.distinct() under every other active filter and the search text, never the column's own; a server source is asked once per opening and again 250 ms after typing in the list's search box (value lists). { auto: true } shows the list only on columns whose values repeat (a column's headerFilter overrides it). Without distinct there is no list.
searchPanelboolean | OgeSearchPanelOptionsfalseGlobal search box above the grid.
filterChipsbooleanfalseA bar of removable chips above the grid, one per filter that narrows the rows — filter-row cells, header condition menus, value-list selections (in), the filter builder and the search text — reading Column · operator · value, plus a clear-all button. Removing a chip also empties its filter-row editor.
dateFilterPresetsboolean | readonly OgeDatePreset[]falseQuick date ranges on top of a date column's header menu — today, yesterday, thisWeek (from the locale's first day), thisMonth, last30Days, thisYear. true offers all, a list picks and orders them. A preset filters with a whole-day range written to the column's condition slot.
filterApplyMode'auto' | 'manual''auto'manual holds filter and search edits until Apply filters (or applyFilters()) — for heavy server queries; a status note says when edits are pending, and no load runs before.
savedViewsbooleanfalseA Views toolbar button: save the current state under a name, open a saved view, delete one. Stored through the state storage under oge-grid-views:<stateKey>; without a stateKey the views last for the session.
summaryMenubooleanfalseAdds a Summary submenu to the header context menu: Count for every column, Sum / Avg / Min / Max for numbers, None, or the column default. The pick replaces the column's totalSummary, persists with stateKey / state() (summaries) and travels as LoadOptions.totalSummary, so a server computes it over the whole filtered set.
filterPanelbooleanfalseFilter panel bar with the filter-builder entry point.
filterValuemodel<FilterExpr | null>nullTwo-way binding of the builder/programmatic filter expression.
filterDebouncenumber | undefined—Debounce for text filter inputs, in ms. Set to 0 in tests.
announcementsboolean | undefinedconfig.announcements (true)Speaks sort, filter/search result count (debounced, once the new result arrived), page, group expansion, select-all and blocked-save validation changes through the shared OgeLiveAnnouncer regions — texts from the *Announcement messages. false opts out.

Paging & scrolling

Name Type DefaultDescription
pagingfalse | OgePagingOptionsfalseClient/server paging with the built-in pager.
virtualScrollbooleanfalseRenders only the rows inside the scroll viewport (plus overscan). Needs a bounded height.
scrollingOgeScrollingOptions | undefined—Scrolling options (standard/virtual/infinite, remote windowing, column virtualization); overrides the shorthand.
rowHeightnumber | undefined—Fixed row height in px used by the virtualizer. Defaults from global config.
autoRowHeightbooleanfalseMeasures real row heights with scroll anchoring. Virtual mode only.
detailRowHeightnumber | undefined—Height assumed for expanded master-detail rows in virtual mode.
overscannumber | undefined—Extra rows rendered above/below the virtual window.

Grouping

Name Type DefaultDescription
groupPanelbooleanfalseDrop area for drag-and-drop row grouping. Keyboard: the header context menu (Shift+F10) offers groupByColumn / ungroupColumn; on a chip’s remove button Ctrl+←/→ reorders the grouping and Delete removes it (messages.groupMoved / groupRemoved).
groupByreadonly string[] | undefined—Initial/programmatic grouping by field names.
groupingOgeGroupingOptions | undefined—autoExpandAll: false starts collapsed and enables deferred child loading; contextMenuEnabled: true offers group/ungroup in the header menu without the group panel.

Selection & focus

Name Type DefaultDescription
selectionModeOgeSelectionMode'none'Row selection: none | single | multiple (ctrl/shift) | checkbox column — or 'cell': rectangular cell ranges (click, Shift+click, drag, Shift+Arrow, Ctrl+click for more ranges, Ctrl+A for all) with TSV copy / paste, the fill handle and range announcements; editing then starts on double-click, F2 or Enter.
selectedKeysmodel<RowKey[]>[]Two-way binding of the selected row keys.
selectAllMode'allPages' | 'page''allPages'Header select-all scope.
selectionDeferredbooleanfalseSelection tracked as a serializable selectionFilter expression — no key set. Requires a string keyField.
selectionFiltermodel<FilterExpr | null>nullTwo-way selection expression (deferred mode).
focusedRowEnabledbooleanfalseHighlights and tracks a single focused row.
focusedRowKeymodel<RowKey | null>nullTwo-way binding of the focused row's key.

Editing & rows

Name Type DefaultDescription
editingfalse | OgeEditingOptionsfalseEnables editing: { mode: 'cell' | 'row' | 'batch' | 'popup' | 'form', allow… }. An invalid cell editor sets aria-invalid on its control and points aria-errormessage / aria-describedby at a rendered, visually hidden error text (also the cell’s tooltip); the form/popup fields wire the same through <oge-form>.
commandButtonsreadonly OgeCommandButton<T>[] | undefined—Customizes the trailing command column: built-in 'edit'/'delete' plus custom buttons with per-row visible.
rowDraggingbooleanfalseDrag-handle column for reordering rows. Arrays mutate in place; DataSources handle rowReordered. Keyboard: Ctrl+↑/↓ on a focused cell moves the row onto its neighbour through the same drop path (same event), announced via messages.rowMoved.
animateRowsbooleantrueGlides the rows on screen to their new slots when a sort, a filter, grouping, an expand/collapse or a row drop re-orders them (FLIP keyed by row key, at most 60 on-screen rows; rows joining the window — expanded children, a detail row — slide in staggered by --oge-motion-stagger, rows leaving it fade out as an inert ghost). Scrolling, a page change, an entirely new row set and remote (windowed) scrolling never animate; under prefers-reduced-motion the change applies at once. Timing comes from --oge-motion-duration-layout / --oge-motion-easing-spring. false turns it off.

Columns UX

Name Type DefaultDescription
columnChooserbooleanfalseColumn visibility chooser button. Keyboard: Space toggles an item; with columnReorder, Ctrl+↑/↓ moves it. Hiding is also in the header context menu.
columnResizebooleantrueDrag-resize handles on header edges. Keyboard: Alt+←/→ on a focused header resizes by 10px (Shift for 1px); the handle is a focusable role="separator" (aria-valuenow/min/max = width in px, named by messages.resizeColumn) taking ←/→, Home/End (min / max) and Enter/Esc (back to the header). RTL-aware; clamped to minWidth / maxWidth.
columnReorderbooleantrueDrag-and-drop column reordering. Keyboard: Ctrl+Shift+←/→ on a focused header moves the column one step, never across a pinned group or out of its band (an unbanded column steps over a band as a whole), announced via messages.columnMoved.
columnMinWidthnumber | undefined—Track minimum for columns without an explicit width.
columnHidingMode'hide' | 'detail' | undefinedconfig: 'detail'What happens to columns responsive hiding (hidingPriority) takes out on a narrow grid: 'detail' gives every row a toggle (a real button with aria-expanded / aria-controls, labelled by toggleAdaptiveDetail) that reveals the hidden columns' caption / value pairs on a second line of the row, rendered like the cells — format, lookups, boolean words and cell templates; 'hide' drops them with no way back. The hiding pass counts the toggle's 32px track once a column is hidden.

Appearance & misc

Name Type DefaultDescription
stateKeystring | undefined—Persists user state (sort, filters, grouping, layout) via OGE_STATE_STORAGE.
stateMigrationsreadonly OgeStateMigration[] | undefined—One upgrade step per change of your stored state’s format: step n turns a state of version n into n + 1. Snapshots record their version; a restored state, an applyState() argument or a saved view runs the steps it missed. A failing step keeps the column layout and drops the rest.
messagesPartial<OgeGridMessages> | undefined—Per-grid overrides of the UI strings.
localestring | undefined—BCP 47 locale of the grid’s formatted text — default date cells, declarative column formats, summaries, group captions, header-filter values, the filter row’s number parsing and editors, clipboard parsing and exported text — and of its plural-aware messages. undefined falls back to provideOgeGridConfig({ locale }), then Angular’s LOCALE_ID. Live: changing it re-renders.
timeZonestring | undefinedundefinedIANA zone the date columns show, filter and edit their days in; a column's own timeZone wins. Values stay instants — cells, value lists, the date tree, the filter row, quick dates, condition filters, editors and typed Excel dates use the zone's wall clock. Group intervals still follow the data source (in memory: the runtime zone). Unset = the runtime's own zone.
loadPanelbooleanfalseSpinner overlay while a load is in flight.
wordWrapbooleanfalseCells wrap instead of truncating.
rowAlternationbooleanfalseZebra striping, stable under virtualization.
highlightChangesbooleanfalseBriefly flashes cells patched by push updates.
rtlEnabledboolean | undefined—undefined auto-detects the inherited CSS direction.

Cells, ranges & clipboard

Name Type DefaultDescription
rangeSelectionOgeRangeSelectionOptions | undefined—{ copyHeaders, fillHandle, pasteAddsRows, multipleRanges }: Ctrl+C prepends the captions; the fill handle (on by default while editing) can be turned off; pasted lines past the last row become new rows; Ctrl+click may add ranges (default true).
selectedRangesmodel<readonly OgeGridCellRange[]>[]Two-way binding of the selected ranges ({ anchor, focus } in flat-row / visible-column coordinates). A sort, filter, page or grouping change clears them.
pinnedTopRowsreadonly (T | RowKey)[] | undefined—Rows pinned in a sticky section under the header: data objects, or keys of loaded rows (which then leave the body). Display rows — not editable, selectable or part of arrow-key navigation; virtual scrolling compatible.
pinnedBottomRowsreadonly (T | RowKey)[] | undefined—Rows pinned in the sticky footer, above the total row.
stickyGroupRowsbooleanfalseKeeps the group rows enclosing the first visible row under the header while scrolling (all levels, virtual scrolling included). A visual aid: the real group rows stay focusable; a click on a sticky row scrolls to it.
cellSpan((row: T, column: OgeGridColumnInfo) => OgeGridCellSpan | null | undefined) | undefined—Row / column spans per cell ({ rowSpan, colSpan }). Spans never cross group rows; the owner cell gets aria-rowspan / aria-colspan and the arrows step over the covered area. Ignored while virtualized; row spans assume uniform row heights.
columnAutoWidthbooleanfalseSizes every column to its header and rendered cells once the first result set rendered.
cellHintEnabledbooleanfalseShows truncated cell text in the overlay tooltip on hover and immediately on keyboard focus (aria-describedby while shown).

Styling & drag groups

Name Type DefaultDescription
rowClass((row: T, key: RowKey) => OgeClassValue) | undefined—Classes for a data row — a string, an array or a { class: condition } record.
cellClass((row: T, column: OgeGridColumnInfo) => OgeClassValue) | undefined—Classes for a data cell, per row and column ({ field, caption, dataType, index }).
rowDragExternalbooleanfalseDrags rows out of the grid with the browser’s own drag and drop — onto a chat box, an editor, another app — instead of reordering by pointer. The drag carries the rows as TSV (text/plain) and JSON (application/json, application/x-oge-grid-rows+json) — the selection when the grabbed row is selected; rowDragStart gets the dataTransfer to add your own types. Needs rowDragging; Ctrl+ArrowUp/Down still reorder.
rowDragGroupstring | undefined—Grids (and other components) sharing a group name accept each other’s dragged rows; the target fires rowDrop with the source row — move the data in the handler. The source needs rowDragging.
allowDropInsideRowbooleanfalseA drop on the middle half of a row reports position: 'inside' (and moves nothing by itself) instead of before / after.

Methods 44

Data & view

Name Type Description
refresh(): voidvoidRe-runs the current load against the DataSource.
getVisibleRows(): readonly T[]readonly T[]Data rows of the currently rendered page, in display order.
getRowByKey(key: RowKey): T | undefinedT | undefinedThe loaded row carrying key, if currently rendered.
totalCount(): numberSignal<number>Data row count of the current filtered set, across all pages.

Navigation & expansion

Name Type Description
scrollToRow(target: number | RowKey): voidvoidScrolls a row into the viewport by flat index or key.
navigateToRow(key: RowKey): voidvoidScrolls to the row and focuses it when focusedRowEnabled.
expandRow(key) / collapseRow(key)voidExpands/collapses a group row (group node key) or master-detail row.
isRowExpanded(key): booleanbooleanExpansion state of a group or master-detail row.
expandAllGroups() / collapseAllGroups()voidExpands/collapses every group row (all levels).

Selection

Name Type Description
selectAll(): voidvoidSelects the current filtered set; honors selectAllMode and deferred mode.
deselectAll() / clearSelection()voidClears the selection (deferred mode: resets selectionFilter).
isRowSelected(key): booleanbooleanWhether the row is currently selected.
getSelectedRowsData(): T[]T[]Data of the selected rows among the loaded rows.
copyToClipboard(): Promise<void>Promise<void>Copies the selected rows (or the focused cell) as tab-separated values.

Editing

Name Type Description
addRow(): voidvoidAdds a new (unsaved) row and opens its editors; initNewRow can prefill. Requires allowAdding.
editRow(key: RowKey): voidvoidOpens the row editor (row/form/popup modes). Requires allowUpdating.
deleteRow(key: RowKey): voidvoidDeletes the row: staged in batch mode (toggle = undelete), saved immediately otherwise. Requires allowDeleting.
saveChanges(): voidvoidCommits the open editor and (batch) saves the staged change set. savingChanges can cancel.
discardChanges(): voidvoidDiscards pending changes and closes any open editor; emits editCanceled.
hasChanges(): booleanbooleanWhether unsaved edits exist.

Paging

Name Type Description
pageIndex(): number / setPageIndex(index)number / voidZero-based page getter / clamped setter.
pageSize(): number / setPageSize(size)number / voidPage size getter / setter; 0 turns paging off.
pageCount(): numberSignal<number>Number of pages; 1 when paging is off.

Columns & summaries

Name Type Description
showColumnChooser(anchor?) / hideColumnChooser()voidOpens the column chooser below anchor (e.g. a button in your own header bar, with columnChooser off so no toolbar row is drawn), else below its toolbar button or the grid's start edge / closes it.
getTotalSummaryValue(field, type?)unknownRaw value of a totalSummary by field (and type, when a column has several); undefined when none is configured or data has not loaded.

Loading, state & export

Name Type Description
beginCustomLoading(message?) / endCustomLoading()voidShows/hides the load panel with an optional message — independent of data activity.
state(): GridStateSnapshot / applyState(snapshot)GridStateSnapshot / voidCaptures / applies the persistable UI state. applyState validates the snapshot first (sanitize*StateSnapshot): unknown keys are dropped, prototype keys rejected, wrong types skipped — invalid input is ignored, never thrown.
describeColumns()OgeGridColumnDescription[]Plain descriptions of every column with a data field — { field, caption, dataType, visible, sortable, filterable, groupable, values? }, lookup items as values. What a saved-view editor or the AI grid assistant reads; no templates, no accessors.
applyFilters(): voidvoidLoads the data with the filters as they are now (filterApplyMode: 'manual').
saveCurrentView(name) / openView(name) / deleteView(name) / savedViewList()voidThe saved views (savedViews) by name: save the current state (replacing a view of that name), apply one (false when missing), delete one, list them oldest first.
clearFilters() / clearSorting()voidClears every filter (row, header, builder, search) / the sort order.
getExportData(options?): Promise<OgeExportData<T>>PromiseRows, column metadata (width, alignment, pin side, band) and the structured lines — group rows, group footers, the total row (items) — of the current view. scope: 'all' | 'page' | 'selection' (or selectedRowsOnly), visibleColumnsOnly: false adds hidden columns, groups / summaries: false export flat.
getCsv(options?): Promise<string>Promise<string>CSV of the current view. Cells a spreadsheet would evaluate as a formula (first non-whitespace character =, +, -, @ or a full-width = + - @, or a leading tab/CR) are prefixed with an apostrophe so the file cannot execute on open — CSV formula injection. Numbers are exempt, so a -5 column stays numeric. Pass formulaGuard: false when the output is machine-read rather than opened in a spreadsheet.
exportCsv(filename = 'grid.csv', options?): Promise<void>Promise<void>Downloads the current view as CSV; fires the cancelable exporting event first. options are getCsv()’s (scope, customizeCell, separator…); formula-leading cells are always neutralized.
getExportRequest(format, options?): OgeServerExportRequestOgeServerExportRequestThe serializable request a server-side export needs: the view's filter, search and sort (the whole view, never a page) and its visible field columns; scope: 'selection' adds the selected keys. format is xlsx or csv.
exportOnServer(format, handler, fileName = 'grid', options?): Promise<void>Promise<void>Hands the export to your server, for views too large to build in the browser: fires exporting, sends the request to handler and saves what it returns — a URL (the browser downloads the server's stream), a streamed Response (written to disk where the File System Access API exists) or a Blob. @oge-ui/server answers it (ogeParseExportRequest, ogeSqlRows, ogeExportResponse).

Ranges, clipboard & undo

Name Type Description
selectRange(range, add?)(range: OgeGridCellRange, add?: boolean) => voidSelects a rectangular cell range; add keeps the existing ones.
clearRangeSelection()() => voidClears every cell range.
getSelectedRangeData()() => unknown[][]The selected cells’ values as a rows × columns matrix (the lattice Ctrl+C copies).
pasteText(text)(text: string) => Promise<number>Pastes a TSV block into the editable cells from the focused cell (or fills the selected range with a single value): parsed with the column data type and lookup, validated, written as one undoable batch through the regular edit events. Resolves with the cells written.
fillDown() / fillRight()() => Promise<number>Ctrl+D / Ctrl+R: copies the range’s first row (column) into the rest — a single row copies the row above it.
undo() / redo()() => Promise<void>Ctrl+Z / Ctrl+Y: reverts or re-applies the last committed edit, paste or fill (staged in batch mode, saved otherwise).
canUndo() / canRedo()() => booleanWhether the history has a step to revert / re-apply.
autoFitColumn(field) / autoFitColumns()(field: string) => voidSizes a column (or every column) to its header and rendered cells — what a double-click on the resize handle and the header menu’s “Size to fit” run.

Events 33

Interaction

Name Type Description
rowClick / rowDblClickOgeRowClickEvent<T>{ row, key, event }.
cellClick / cellDblClickOgeCellClickEvent<T>{ row, key, field, value, event }.
rowContextMenuOgeContextMenuEvent<T>Row right-click — and the Menu key / Shift+F10 in a focused cell; push into items to open the built-in menu. source is 'pointer', 'touch' (a long-press) or 'keyboard' (then clientX/Y is the cell's start/bottom corner); event is the originating event.
headerContextMenuOgeHeaderContextMenuEventPrebuilt, mutable header menu items (sort/group/pin/hide); also opened by the Menu key / Shift+F10 on a focused header. Carries source and event like rowContextMenu.
rowReorderedOgeRowReorderedEvent<T>A row was dropped in a new position (rowDragging).

Selection & focus

Name Type Description
selectionChangedOgeSelectionChangedEvent{ selectedKeys, addedKeys, removedKeys } after every selection change.
focusedRowChangedOgeFocusedRowChangedEvent<T>{ key, row } after the focused row changed.
focusedCellChangedOgeFocusedCellChangedEvent<T>{ rowIndex, columnIndex, key, row, field } after keyboard/pointer focus moved to another cell; key/row are undefined on group rows.
sortChangedOgeSortChangedEvent{ sort, previousSort } as soon as the sort changed (header, menu, API) — no debounce, unlike stateChange. The initial sort is not a change.
pageChangedOgePageChangedEvent{ pageIndex, pageSize, previousPageIndex, previousPageSize } after the page index or size changed.
rowExpandingOgeGridRowTogglingEvent<T>Before a group or master-detail row expands (pointer, keyboard or expandRow()); { key, kind, row, cancel } — set cancel to veto. Not fired per row by expandAllGroups().
rowExpandedOgeGridRowToggleEvent<T>{ key, kind: 'group' | 'detail', row } after the row expanded.
rowCollapsingOgeGridRowTogglingEvent<T>Before a group or master-detail row collapses; cancelable.
rowCollapsedOgeGridRowToggleEvent<T>After a group or master-detail row collapsed.
selectedKeysChange / focusedRowKeyChange / filterValueChange / selectionFilterChangemodel outputsImplicit outputs of the two-way models.

Editing lifecycle

Name Type Description
editingStartOgeEditingStartEvent<T>Cancelable — before a cell or row editor opens.
initNewRowOgeInitNewRowEventWrite into values to prefill rows created by addRow().
rowInserting / rowInsertedOgeRowInserting/-edEventAround each DataSource insert; rowInserting cancelable.
rowUpdating / rowUpdatedOgeRowUpdating/-edEventAround each DataSource update; rowUpdating cancelable (carries row + values).
rowRemoving / rowRemovedOgeRowRemoving/-edEventAround each DataSource remove; rowRemoving cancelable.
savingChanges / savedChangesOgeSaving/-edChangesEvent<T>Whole batch before (cancelable) / after the save.
editCanceledvoidAn edit session ended without saving.

Lifecycle & errors

Name Type Description
contentReadyvoidA new result set finished rendering (post-render notification).
stateChangeGridStateSnapshotDebounced — the persistable UI state changed.
exportingOgeExportingEventCancelable, mutable fileName — before a CSV export.
dataErrorOccurredOgeDataErrorEvent{ error } — a DataSource load or save failed.

Ranges, preparation & drag

Name Type Description
rangeSelectionChangedOgeRangeSelectionChangedEventThe selected ranges changed: { ranges, rowCount, columnCount, cellCount }.
rowPreparedOgeRowPreparedEvent<T>A data row element rendered a row for the first time (scrolled in, re-keyed) — { row, key, rowIndex, element }, the imperative escape hatch the declarative hooks cannot cover.
cellPreparedOgeCellPreparedEvent<T>Every data cell of a prepared row: { row, key, field, value, rowIndex, columnIndex, element }.
rowDragStartOgeRowDragStartEvent<T>Cancelable: a row drag is about to start.
rowDragOverOgeRowDragOverEventCancelable, on the grid under the pointer: a dragged row of the group hovers it; set cancel to refuse the spot.
rowDropOgeRowDropEventA row was dropped on this grid — its own (a reorder, which also fires rowReordered) or another component’s (sameComponent: false): { sourceComponentId, targetComponentId, sourceKey, sourceRow, targetKey, targetRow, position, toIndex }.
rowDragEndOgeRowDragEndEvent<T>The source side of a drag ended: { key, row, dropped, targetComponentId }.

OgeColumn

oge-column

Properties 34

Companion directives

Name Type DefaultDescription
OgeColumnGroupoge-column-group — input: caption (required)—Banded header: wraps sibling <oge-column> elements under one shared caption. Re-exported by @oge-ui/tree-list.
OgeGridToolbarItemdirective — [ogeToolbar]—Marks projected content as a toolbar item. The toolbar appears as soon as one item exists, alongside the built-in controls. Named OgeGridToolbarItem so it cannot collide with @oge-ui/layout’s OgeToolbarItem; the selector is unchanged.

Basics

Name Type DefaultDescription
fieldstring | undefined—Data field (dot paths supported via accessors).
captionstring | undefined—Header text; humanized from field when omitted.
dataTypeOgeDataType'string''string' | 'number' | 'date' | 'datetime' | 'boolean' — drives editors, filters and the default alignment. 'datetime' keeps the time of day (date + time cells and editor; filters by calendar day).
alignmentOgeColumnAlignment | undefined—'start' | 'center' | 'end' for cells, header and summaries (logical — 'end' is the right edge in LTR). Unset, numbers align to the end and everything else to the start.
width / minWidthnumber | string / number—Track size; minWidth guards resizing.
maxWidthnumber | undefinedundefinedUpper bound in px for user resizing — pointer drag and the Alt+←/→ / separator keys; also the separator’s aria-valuemax.
visiblemodel<boolean>trueTwo-way visibility (column chooser writes it).
formatOgeColumnFormat | undefined—Display format for cells, summaries, group rows, header-filter values and export: a function, or a declarative OgeValueFormat rendered in the grid’s locale ({ type: 'currency', currency: 'EUR' }, { type: 'date', dateStyle: 'long' }, { type: 'number', pattern: '#,##0.00' }).
pinnedfalse | 'left' | 'right'falsePins the column to an edge. left / right are the logical start / end edge (mirrored in RTL). While content scrolls under the pinned group, the column bordering it casts a separator shadow (--oge-shadow-pinned-color; a solid rule under forced colors).
hidingPrioritynumber | undefined—Adaptive hiding order when width runs out (higher survives longer); the hidden values stay reachable through the row toggle unless columnHidingMode is 'hide'.
lookupOgeColumnLookup | undefined—Display + dropdown editor from a value list; cascading via function dataSource.
timeZonestringundefinedA date / datetime column's own zone ('UTC' for date-only values kept as UTC midnight); overrides the grid's timeZone. A format function receives the wall clock.

Sort, filter & group

Name Type DefaultDescription
sortable / filterablebooleantruePer-column opt-outs.
sortOrder / sortIndex'asc' | 'desc' / number—Initial sort (stateKey/user wins).
groupIndexnumber | undefined—Initial grouping position.
groupInterval'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year' | number | undefined—Bucket when grouping by this column — calendar units for dates ('day' by default for date / datetime; 'week' starts on the locale’s first day of week) or a positive width for numbers (100 → 0–99, 100–199…). Captions read Week of …, Q2 2026, 100 – 200. Sent as LoadOptions.group[].interval.
filterOperatorFilterOperator | undefined—Initial operator of the filter-row cell.
headerFilterboolean | undefined—This column's value list: false hides its funnel, true shows it even when headerFilter.auto would not; unset follows the grid.
filterRangeOgeFilterRange | undefined—A two-handle range slider as the filter-row cell of a number column ({ min, max, step? }); the pair filters with between, the full range filters nothing.
calculateCellValue(row: T) => unknown—Calculated column value.
calculateSortValue(row: T) => unknown—Custom sort key.
calculateFilterValue(row: T) => unknown—The value this column filters, lists and searches by on the client — the label a translated or enum column shows, a full name built from two fields. Filters stay written against field (array data only).
filterFieldstring—The field this column’s filters and header value list go to the data source under — a derived column the server filters on another field. LoadOptions.filter and distinct() use it; the saved state keeps field.
calculateFilterExpression(value, operator) => FilterExpr | null—Custom filter expression builder.

Summaries & editing

Name Type DefaultDescription
groupSummary / totalSummarySummaryType | readonly SummaryType[]—sum/avg/min/max/count/custom aggregates per column.
groupSummaryPosition'row' | 'footer''row'Group aggregates inline or in a footer row.
calculateCustomSummary(rows: readonly T[]) => unknown—Reducer for type: 'custom'.
editablebooleantruePer-column editing opt-out.
required / validatorsboolean / readonly ValidatorFn[]—Editor validation.

Formatting, merging & async validation

Name Type DefaultDescription
conditionalFormatsreadonly OgeConditionalFormat<T>[] | undefined—Declarative formats: rules { when: (value, row) => boolean | { operator, value }, class?, style?: { tone, background, bold } }, { type: 'dataBar' }, { type: 'colorScale', tones? } and { type: 'iconSet', icons?, thresholds? }. Token classes and CSS custom properties only — themes and forced colours keep working.
mergeCellsbooleanfalseMerges vertically adjacent equal values into one cell (aria-rowspan); not applied while virtualized.
asyncValidatorsreadonly AsyncValidatorFn[] | undefined—Async Angular validators (a server uniqueness check): the editor is aria-busy while one runs, a commit waits for it, failures use the usual error wiring; pastes and fills run them too.

Types 9

Name Type Description
<oge-column-group caption="…">componentBanded (multi-row) headers — wraps child <oge-column>s.
*ogeCellTemplateOgeCellTemplateContext<T>{ $implicit: value, row, rowIndex, column }.
*ogeHeaderTemplateOgeHeaderTemplateContext<T>{ $implicit: column }.
*ogeEditTemplateOgeEditTemplateContext<T>{ $implicit: FormControl, row, column }.
*ogeFilterCellTemplateOgeFilterCellTemplateContextA custom filter-row editor in an <oge-column>: { $implicit: value, setValue(value, operator?), operator, column }. An empty value removes the filter, a two-item array is between, a longer one in; calculateFilterExpression still decides when set.
*ogeDetailTemplateOgeDetailTemplateContext<T>Master-detail content; { $implicit: row }.
*ogeRowTemplateOgeRowTemplateContext<T>Full-row replacement; { $implicit: row, index, key }.
*ogeNoDataTemplateTemplateRefCustom empty state.
[ogeToolbar]marker directive — 'before' | 'center' | 'after'Projects custom controls into the grid toolbar. The static value picks the group: ogeToolbar="before" (start edge — filters, primary actions), "center", or bare / "after" (next to the built-in tools).

Grid types & configuration

Types 59

Standalone building blocks

Name Type Description
OgeCellEditoroge-cell-editor — inputs: control (required), dataType, lookupItems, label, surface, invalid, errorTitle; outputs: enterKey, escapeKey, tabKeyThe editor the grid renders in a cell: picks the dataType-matched oge-*-box from @oge-ui/inputs and binds it to a reactive FormControl. Usable on its own to get grid-identical editing in a form.
OgePageroge-pager — inputs: pageIndex, pageCount, totalCount (required), pageSize, pageSizes, showInfo, displayMode, messages, locale; outputs: pageChange, pageSizeChangeThe grid's pager as a standalone component — reuse it under a list or a card grid so paging looks identical everywhere.
ogeColumnFromDef(def)(def: OgeColumnDef<T>) => OgeColumn<T>What [columns] runs on: turns a column definition into the signal surface of an <oge-column>. For a custom grid-like component that accepts the same OgeColumnDefs.
OgeColumnDefCacheclass { resolve(defs): OgeColumn<T>[] }Keeps one column — and its visibility — per definition object across change detection; field-name strings are cached by name.
OgeFilterBuilderGroupoge-filter-builder-groupRecursive node of the filter builder (a group of conditions plus nested groups). Exported so a custom filter UI can reuse the same tree editor.
formatCellValue(value, dataType, format?)(value: unknown, dataType: OgeDataType, format?: (value: unknown) => string) => stringThe exact formatting the grid applies to a cell. Use it to keep exports, tooltips or custom templates byte-identical with the rendered grid.

Internals — not a supported API

Name Type Description
GridStateStorecomponent-scoped serviceComposes the state slices; loadOptions is the single choke point through which every data-affecting change triggers exactly one load. Injected by the grid, not by applications — use state() / applyState() instead.
GridDataAdaptercomponent-scoped serviceBridges the reactive state to the pull-based DataSource contract with switchMap semantics, so a stale response can never win over a newer one.
SortSlice / FilterSlice / GroupingSlice / PagingSlice / ColumnsSlice / SelectionSlice / ExpansionSlice / OgeEditingSlicestate slicesRead-only signals plus intent methods behind GridStateStore. Exported for the suite's own packages (tree-list, pivot) — treat them as internal: they may change in any release.

Option objects (boolean shorthands stay valid)

Name Type Description
OgePagingOptions{ pageSize: number; pageSizes?: readonly (number | 'all')[]; showInfo?; displayMode?: 'full' | 'compact' | 'adaptive' }Pager configuration.
OgeSortingOptions{ mode?: 'none' | 'single' | 'multi'; allowUnsorting?: boolean; locale?: string; compare?: (a, b, field) => number }Sorting behavior. locale is the text sort locale, apart from the formatting locale ('tr' sorts ı before i); default: the grid’s locale. compare replaces the comparison of non-null values. Both apply to rows the grid sorts itself and to value lists.
OgeFilterRowOptions{ visible?: boolean; debounce?: number }Filter row.
OgeHeaderFilterOptions{ visible?: boolean; valueLimit?: number; mode?: 'list' | 'conditions' | 'both'; auto?: boolean }Header filter. auto shows the value list only on columns whose values repeat — at least 8 rows, at most 25 distinct values, each appearing more than twice on average — judged on an in-memory source; a column's headerFilter overrides it.
OgeSearchPanelOptions{ visible?: boolean; placeholder?: string; width?: number }Search panel.
OgeScrollingOptions{ mode?: 'standard' | 'virtual' | 'infinite'; remote?: boolean; columnRenderingMode?: 'standard' | 'virtual' }Scrolling engine.
OgeGroupingOptions{ autoExpandAll?: boolean; contextMenuEnabled?: boolean }autoExpandAll: false starts collapsed and defers child loading; contextMenuEnabled puts group/ungroup in the header menu without the group panel.
OgeEditingOptions{ mode: OgeEditMode; allowUpdating?; allowAdding?; allowDeleting?; confirmDelete?; formItems?; formColCount? }Editing configuration; OgeEditMode = cell | row | batch | popup | form.
OgeCommandButton<T>{ name?: 'edit' | 'delete'; text?; onClick?(row, key); visible?(row) }Command column entries.
OgeColumnLookup{ dataSource: readonly unknown[] | ((row) => readonly unknown[]); valueExpr?; displayExpr? }Lookup source.

Export

Name Type Description
OgeServerExportRequest / OgeServerExportColumninterfaceWhat exportOnServer sends: { format, fileName, loadOptions: { filter, searchText, sort }, columns: [{ field, caption, dataType, width?, timeZone? }], selectedKeys? } — serializable, no accessors.
OgeServerExportFormat / OgeServerExportHandler'xlsx' | 'csv' / (request) => Promise<string | Response | Blob>The file format, and the function that calls your endpoint and returns a URL, a streamed Response or a Blob.
ogeSaveExport(result, fileName, document)Promise<boolean>Saves an export handler's result the way exportOnServer does — for exports you start yourself. false when the person cancelled the save dialog.
OgeExportOptions<T>{ scope?; selectedRowsOnly?; visibleColumnsOnly?; groups?; summaries?; customizeCell?(args); cellStyle?(args) }Shared by CSV/Excel/PDF. customizeCell rewrites a data cell (return a value) and restyles it (mutate style); cellStyle is the value-level styling seam for every cell — header, group and summary lines included — so conditional formatting exports the same way it renders.
OgeExportData<T> / OgeExportColumn<T> / OgeExportCellArgs<T>interfacesRows + resolved column metadata handed to exporters; items carries the group / footer / total lines when the view is grouped or summarized.
OgeExportItem<T> / OgeExportSummaryCell / OgeExportRowKind{ kind: 'data' | 'group' | 'groupFooter' | 'total'; … }One exported line: a data row at its group depth, a group header (text, value, count, header summaries), a group footer or the total row with typed summary values.
OgeExportCellStyle / OgeExportCellStyleArgs<T>{ bold?, italic?, underline?, color?, background?, fontSize?, alignment?, verticalAlignment?, wrap?, border?, numFmt? }Cell style both file builders apply (colours as #rrggbb; numFmt is Excel-only).
exportGridToExcel(grid, options?)@oge-ui/grid/export-excelLazy Excel export (exceljs peer): merged band headers, frozen header rows + left-pinned columns (freezeHeader, freezeColumns), grid or auto column widths (columnWidths), number/date formats (numberFormat, dateFormat, dateTimeFormat, columnFormats), group rows with collapsible outline levels (outline), group-footer and total rows as values or SUBTOTAL formulas (summaryFormulas), headerStyle / groupStyle / summaryStyle, auto-filter. buildExcelWorkbook(data, options) for custom pipelines.
exportGridToPdf(grid, options?)@oge-ui/grid/export-pdfLazy PDF export (jspdf peer): the header block repeated on every page (repeatHeader), group and summary rows, grid widths fitted to the page (fitToWidth), orientation, pageFormat, title, pageHeader / pageFooter callbacks and pageNumbers. buildPdfDocument(data, options) for custom pipelines. Text outside WinAnsi (Turkish ğ ş ı İ, Central European, Greek, Cyrillic) needs a Unicode TrueType font — per export, or once for every PDF via setOgePdfDefaultFont({ family, normal, bold }) from @oge-ui/behavior; without one the built-in Helvetica cannot draw it (a dev-mode warning says so).
OgeExcelExportOptions<T> / OgePdfExportOptions<T> / OgePdfPageInfointerfacesThe two download helpers’ options (each extends OgeExportOptions) and what a PDF page callback is told (pageNumber, pageCount).

Configuration

Name Type Description
provideOgeGridConfig(config)ProviderApp/component-scoped defaults; deep-merges messages.
OgeGridConfig{ rowHeight: 36; detailRowHeight: 200; filterDebounce: 300; overscan: 6; columnMinWidth: 120; pinnedDefaultWidth: 150; headerFilterValueLimit: 200; allowUnsorting: true; columnHidingMode: 'detail'; announcements: true; locale: undefined; messages }Defaults shown inline.
OgeGridMessages60+ string keysEvery user-facing string, incl. aria labels, filter operators, summary patterns — see OGE_DEFAULT_MESSAGES in the source.
messages.reorderColumnHeader / messages.detailColumnHeader / messages.selectAllColumnHeader / messages.reorderRowstringAccessible names of the row-drag, master-detail and selection header cells and of a row’s drag handle. Defaults: Reorder, Detail, Select all, Reorder row. The tree list reads reparentColumnHeader / reparentRow (Reparent, Reparent row) for its reparenting handle.
messages.resizeColumn / messages.columnResized / messages.columnMoved / messages.rowMoved / messages.treeRowMoved / messages.groupMoved / messages.groupRemovedstringThe keyboard alternatives to dragging (WCAG 2.1.1 / 2.5.7): the resize separator’s name (Resize {column}) and the polite live-region announcements after a keyboard resize ({column} width {width} pixels), column move ({column} moved to position {position} of {total}), row move (Row moved to position {position} of {total}), tree-row move (Row moved to level {level}, position {position} of {total}) and group-chip reorder / removal (Grouping by {column} moved to position {position} of {total}, Grouping by {column} removed).
messages.booleanTrueLabel / messages.booleanFalseLabelstringScreen-reader text of a default-rendered boolean cell (Yes / No). The visible booleanTrue / booleanFalse glyph (✓ / ✗, also the CSV text) is rendered aria-hidden; the label is rendered visually hidden beside it. Columns with a custom format, a lookup or a cell template render their own text. Localizing booleanTrue / booleanFalse to words? Set the labels too — they are announced, the glyph text is not.
messages.sortAscendingAnnouncement / messages.sortDescendingAnnouncement / messages.sortClearedAnnouncement / messages.rowCountAnnouncement / messages.rowCountOneAnnouncement / messages.pageAnnouncement / messages.groupExpandedAnnouncement / messages.groupCollapsedAnnouncement / messages.rowExpandedAnnouncement / messages.rowCollapsedAnnouncement / messages.selectionCountAnnouncement / messages.validationErrorAnnouncementstringLive-announcement patterns, {placeholder}-interpolated. Defaults: Sorted by {column}, ascending / descending, Sort cleared, {count, plural, one {# row} other {# rows}}, Page {n} of {total}, Group {value} expanded / collapsed, {value} expanded / collapsed (tree list), {count, plural, one {# row selected} other {# rows selected}} and {column}: {error} (spoken assertively when a save is blocked by an invalid editor). The count messages (and cellsPastedAnnouncement / cellsFilledAnnouncement / undoAnnouncement / redoAnnouncement) are ICU plurals rendered by ogeFormatMessage in the grid’s locale — write every plural form of your language in one key (one / few / many / other, =0). A plain {count} pattern still works. rowCountOneAnnouncement is deprecated: still honoured for exactly one row (with a dev-mode warning) until the next minor.
messages.pagerInfo / messages.rowsSuffixstringThe pager’s row-count text, an ICU plural over {count}: {count, plural, one {# row} other {# rows}}, numbers in the grid’s locale. rowsSuffix is deprecated — a suffix cannot inflect; a catalog that still sets it keeps the old <count> <suffix> text (with a dev-mode warning) until the next minor.
OGE_STATE_STORAGE / OgeStateStorageInjectionTokenPluggable sync/async persistence backend for stateKey.

Filter builder

Name Type Description
builderToExpr / exprToBuilder / describeExpr / operatorsForfunctionsConvert between builder trees and FilterExpr; humanize expressions.
OgeBuilderGroup / OgeBuilderCondition / OgeFilterBuilderFieldinterfacesFilter-builder data model.

Locale, formats & plurals

Name Type Description
OgeValueFormat{ type: 'number' | 'decimal' | 'currency' | 'percent' | 'date' | 'time' | 'datetime'; currency?; minimumFractionDigits?; maximumFractionDigits?; dateStyle?; timeStyle?; pattern? }A declarative column format (from @oge-ui/core), rendered through the shared Intl cache in the grid’s locale — the locale input, then provideOgeGridConfig({ locale }), then Angular’s LOCALE_ID. number groups digits, decimal does not, currency defaults to USD, percent reads a ratio (0.25 → 25%); dates default to the locale’s numeric date / short time. pattern is a small LDML subset: #,##0.00 for numbers, dd.MM.yyyy HH:mm / d MMMM yyyy, EEEE for dates (names and digits stay the locale’s). Unformatted number columns render the raw value — give them a format for locale separators.
OgeColumnFormat((value: unknown) => string) | OgeValueFormatWhat a column’s format accepts. A function wins and ignores the locale; a declarative format is compiled once per locale and reaches cells, summaries, group captions, header-filter values, the clipboard and CSV / Excel / PDF text. CSV keeps unformatted values raw.
ogeNumberFormat / ogeDateTimeFormat / ogeRelativeTimeFormat / ogePluralRules(locale?, options?) => Intl.NumberFormat | Intl.DateTimeFormat | Intl.RelativeTimeFormat | Intl.PluralRulesThe suite’s shared Intl cache (@oge-ui/core): one instance per locale + options, SSR-safe, an unknown locale falls back to the runtime default instead of throwing. Use it in custom format functions instead of new Intl.* per cell.
ogeFormatMessage(template, values, locale)(template: string, values?: OgeMessageValues, locale?: string) => stringICU-lite message formatting behind every plural-aware catalog key: {name}, {n, number|date|time, style}, {count, plural, =0 {…} one {# row} few {…} many {…} other {# rows}} with # and offset:, selectordinal and select; ICU apostrophe quoting. Plural categories come from Intl.PluralRules; a malformed template never throws.
ogeParseNumber(text, locale)(text: string, locale?: string) => numberReads number text typed in a locale (1.234,5 in de-DE, native digits in ar-EG); NaN when blank or not a number. The filter row parses typed numbers with it in the grid’s locale.
ogeValueFormatter(format, locale) / ogeFormatValue(value, format, locale)(format: OgeValueFormat, locale?) => (value: unknown) => stringCompile or apply an OgeValueFormat outside a grid — the same text the grid renders.

Ranges, formats, spans & drag

Name Type Description
OgeGridCellRange / OgeGridCellCoordinterfaces{ anchor, focus } of { row, col } — flat row index and visible column index, the keyboard machine’s coordinates.
OgeRangeSelectionOptionsinterface{ copyHeaders?, fillHandle?, pasteAddsRows?, multipleRanges? }.
OgeRangeSelectionChangedEventinterface{ ranges, rowCount, columnCount, cellCount }.
OgeClassValuetypeWhat class hooks return: string | string[] | Record<string, boolean> | null.
OgeGridColumnInfointerface{ field, caption, dataType, index } — what cellClass / cellSpan learn about a column.
OgeConditionalFormattypeA rule or a data bar / colour scale / icon set (see conditionalFormats).
OgeGridCellSpaninterface{ rowSpan?, colSpan? }.
OgeRowPreparedEvent / OgeCellPreparedEventinterfacesPayloads of rowPrepared / cellPrepared.
OgeRowDragStartEvent / OgeRowDragOverEvent / OgeRowDropEvent / OgeRowDragEndEvent / OgeRowDropPositioninterfacesCross-component row drag payloads; position is 'before' | 'after' | 'inside'. With rowDragExternal, OgeRowDragStartEvent also carries dataTransfer and rows.
OgeHeaderFilterModetypeheaderFilter.mode: 'list' (default) the value checklist, 'conditions' two operator + value conditions joined by And / Or, 'both' the Excel-style menu (conditions above the list). Date columns list their values as a year → month → day tree.
OgePagerInfoTemplatedirective*ogePagerInfoTemplate="let info" replaces the pager’s info text; info is { pageIndex, pageCount, totalCount, pageSize, firstRow, lastRow, text }. paging.showFirstLastButtons / paging.showPageInput add first/last buttons and a go-to-page input.
messages.rangeSelectedAnnouncement / messages.cellsPastedAnnouncement / messages.cellsFilledAnnouncement / messages.undoAnnouncement / messages.redoAnnouncement / messages.fillHandle / messages.validationPending / messages.autoFitColumnstringRange, paste, fill and undo announcements ({rows} by {columns} cells selected, {count} cells pasted…), the fill handle’s tooltip, the busy editor’s status text and the “Size to fit” header-menu item.
messages.filterByCondition / messages.filterByValues / messages.firstCondition / messages.secondCondition / messages.firstPage / messages.lastPage / messages.goToPage / messages.pageOfCount / messages.groupWeekPattern / messages.groupQuarterPattern / messages.groupRangePatternstringHeader filter menu sections and condition names, pager first/last/go-to-page labels (of {count}) and the interval group captions (Week of {date}, Q{quarter} {year}, {from} – {to}).

OgeGridHarness

Properties 1

Harness

Name Type Description
hostSelector'oge-grid'Static. The host selector the CDK loader matches — import from @oge-ui/grid/testing; @angular/cdk is an optional peer only this entry needs.

Methods 22

Finding the grid

Name Type Description
with(filters?: OgeGridHarnessFilters)HarnessPredicate<OgeGridHarness>Static. Predicate for loader.getHarness(): selector, ancestor and column (a caption the grid must have, string or RegExp).

Rows & cells

Name Type Description
getColumnCaptions()Promise<string[]>Captions of the data columns, in display order.
getRows(filter?: OgeGridRowHarnessFilters)Promise<OgeGridRowHarness[]>The rendered body rows (data and row-template rows; pinned, group and filler rows excluded), optionally filtered by text or selected.
getRowCount()Promise<number>Number of rendered body rows — the window of a virtualized grid, the page of a paged one.
getCellTexts()Promise<string[][]>Every rendered row’s data-cell texts (trimmed, whitespace collapsed).
getCellText(rowIndex: number, column: string | number)Promise<string>Text of one cell. A column is its caption (exact, trimmed) or its 0-based position among the data columns.
isEmpty()Promise<boolean>Whether the "no data" row is shown.

Sorting

Name Type Description
sortBy(column: string | number, modifiers?: { shift?, control? })Promise<void>Clicks the column header — one step of the sort cycle; shift adds the column to a multi-column sort.
getSortDirection(column: string | number)Promise<'asc' | 'desc' | 'none'>The column’s sort state, read from the header’s aria-sort.

Filter row

Name Type Description
hasFilterRow()Promise<boolean>Whether the filter row is shown.
setFilter(column: string | number, text: string)Promise<void>Replaces a column’s filter-row text (Enter commits a date filter; '' clears) and waits out the debounce. Boolean and lookup filters are select boxes: drive them with OgeSelectBoxHarness.with({ label: 'Filter <caption>' }).
getFilterText(column: string | number)Promise<string>The current text of a column’s filter-row editor.

Paging

Name Type Description
hasPager()Promise<boolean>Whether the grid shows a pager.
getCurrentPage()Promise<number>The current page, 1-based — from the current page button, the go-to-page input or the compact n / m text.
goToPage(page: number)Promise<void>Goes to a 1-based page: its page button when listed, otherwise the go-to-page input (showPageInput).
nextPage() / previousPage()Promise<void>Clicks the pager’s next / previous page button.

Selection

Name Type Description
toggleRowSelection(rowIndex: number)Promise<void>Toggles a row’s selection: its checkbox in selectionMode: 'checkbox', otherwise a click on its first data cell.
isRowSelected(rowIndex: number)Promise<boolean>Whether a row is selected (aria-selected="true").
getSelectedRowIndexes()Promise<number[]>0-based indexes of the selected rendered rows.
toggleSelectAll()Promise<void>Clicks the header’s select-all checkbox.

Editing

Name Type Description
editCell(rowIndex: number, column: string | number, text: string)Promise<void>Edits a cell as a keyboard user does: focus, F2 (unless the row is already editing), replace the text, Enter — which commits per the edit mode. Text, number and date editors.
isCellEditing(rowIndex: number, column: string | number)Promise<boolean>Whether a cell shows its editor.

Types 4

Name Type Description
OgeGridHarnessFiltersBaseHarnessFilters & { column?: string | RegExp }Options of OgeGridHarness.with().
OgeGridRowHarnessComponentHarnessOne body row: getCellTexts(), getCell(columnIndex) (a TestElement), isSelected(), toggleSelection(); OgeGridRowHarness.with({ text, selected }).
OgeGridRowHarnessFiltersBaseHarnessFilters & { text?: string | RegExp; selected?: boolean }Options of OgeGridRowHarness.with() and getRows().
OgeGridSortDirection'asc' | 'desc' | 'none'A column’s sort state.

Notes

  • Methods are reached through a template reference (viewChild(OgeGrid)) — there is no instance()/option() machinery; state flows through signal inputs and two-way models.
  • jQuery-era members (repaint(), beginUpdate(), onOptionChanged…) are intentionally absent; the ROADMAP's "API parity" section documents every mapping decision.