Skip to content

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

Signature:

export interface BasesTableGroup

Properties

PropertyTypeDescription
childStartnumberThe offset of the group's body from the top of its table, in pixels.
columnsBasesPropertyId[]The properties the group was last rendered with, in column order.
selfHeightnumberThe height of the group's table without its body, in pixels.
summaryRowBasesTableSummaryRowThe group's summary row.
tableElHTMLElementThe .bases-table element of the group.
tbodyElHTMLElementThe .bases-tbody element holding the group's rows.
viewBasesTableViewThe table view the group belongs to.

Methods

MethodReturnsDescription
render(properties, group)voidRenders the group's heading and summary row.
virtualize(width, columnWidths, start, end)voidSizes the group's summary row and positions its cells inside the horizontal viewport.

Links to this page: