Skip to content

BasesTableRow

Unofficial

A rendered body row of a BasesTableView, showing one entry. The view keeps one per row currently in the viewport in rows, and recycles the rest through unusedRows.

Import:

import type { BasesTableRow } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface BasesTableRow

Properties

PropertyTypeDescription
cellsBasesTableCell[]The row's cells, one per shown property.
elHTMLElementThe .bases-tr row element.
entryBasesEntryThe entry the row shows. Set by render, so a row recycled before its first render has none.
viewBasesTableViewThe table view the row belongs to.

Methods

MethodReturnsDescription
render(entry, properties)voidRenders the row for an entry, creating, reusing or removing cells to match the properties.
virtualize(columnWidths, start, end)voidPositions the cells inside the horizontal viewport and detaches the rest.

Links to this page: