BasesTableGroup
Unofficial
The rendered table of one group of a BasesTableView, matching one entry of the view’s data.groupedData.
Import:
import type { BasesTableGroup } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface BasesTableGroupProperties
| Property | Type | Description | |
|---|---|---|---|
| childStart | number | The offset of the group's body from the top of its table, in pixels. | |
| columns | BasesPropertyId[] | The properties the group was last rendered with, in column order. | |
| selfHeight | number | The height of the group's table without its body, in pixels. | |
| summaryRow | BasesTableSummaryRow | The group's summary row. | |
| tableEl | HTMLElement | The .bases-table element of the group. | |
| tbodyEl | HTMLElement | The .bases-tbody element holding the group's rows. | |
| view | BasesTableView | The table view the group belongs to. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| render(properties, group) | void | Renders the group's heading and summary row. | |
| virtualize(width, columnWidths, start, end) | void | Sizes the group's summary row and positions its cells inside the horizontal viewport. |
Links to this page: