Skip to content

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-catalyst-latest';

Signature:

export interface BasesTableSummaryRow

Properties

PropertyTypeDescription
cellsBasesTableCellBase[]The summary cells, one per shown property.
elHTMLElementThe .bases-tr row element.
location'footer' | 'group'Where the row is shown.
viewBasesTableViewThe table view the row belongs to.

Methods

MethodReturnsDescription
render(properties, entries)voidRenders the summary cells for the properties over the entries.
shouldDisplay()booleanChecks 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)voidPositions the cells inside the horizontal viewport and detaches the rest.

Links to this page: