BasesTableSummaryRow
Unofficial
A summary row of a BasesTableView: the table’s footer, or the summary row at the top of a group.
Import:
import type { BasesTableSummaryRow } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface BasesTableSummaryRowProperties
| Property | Type | Description | |
|---|---|---|---|
| cells | BasesTableCellBase[] | The summary cells, one per shown property. | |
| el | HTMLElement | The .bases-tr row element. | |
| location | 'footer' | 'group' | Where the row is shown. | |
| view | BasesTableView | The table view the row belongs to. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| render(properties, entries) | void | Renders the summary cells for the properties over the entries. | |
| shouldDisplay() | boolean | Checks whether the row should be shown: the view has a summary for a shown property, and the row is the footer or the data has more than one group. | |
| virtualize(columnWidths, start, end) | void | Positions the cells inside the horizontal viewport and detaches the rest. |
Links to this page: