View as Markdown

API reference

@salmonui/data-grid/engine/expansion

35 exported symbols: 10 functions, 2 classes, 8 interfaces, 13 types and 2 constants. Each name links its page with the signature, docs and members. Names re-exported from another entry point are listed there, linked below.

import { … } from '@salmonui/data-grid/engine/expansion';

Functions

  • baseViewThe innermost (structural) view of a possibly wrapped view.
  • createDetailModuleCreates the detail module. Options are read from options.detail (DetailOptions).
  • createSparseRowMetrics
  • dataIndexAtData row index (captions, footers, detail rows, and pinned rows not counted) of the row at visible index, or -1 for a synthetic or pinned row. O(log) for plain…
  • dataRowCountOfData rows of the current view (excludes synthetic rows).
  • dataRowIdAtRow id of the data row at data index dataIndex of the current view, or undefined.
  • detailParentIdParent row id of a detail row id, or null when id is not a detail row id.
  • detailRowIdDetail row id of a parent row.
  • outerIndexMaps an index of baseView(view) to a visible index of view.
  • visibleRowOfRow object of a visible row (source rows and view-owned rows).

Classes

  • DetailView
  • PlainViewView adapter over an ungrouped model: identity or order, optionally a page window [start, end) of it. Lets the detail view treat every model as a view.

Types

Constants

Re-exported entry points