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 BasesTableRowProperties
| Property | Type | Description | |
|---|---|---|---|
| cells | BasesTableCell[] | The row's cells, one per shown property. | |
| el | HTMLElement | The .bases-tr row element. | |
| entry | BasesEntry | The entry the row shows. Set by render, so a row recycled before its first render has none. | |
| view | BasesTableView | The table view the row belongs to. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| render(entry, properties) | void | Renders the row for an entry, creating, reusing or removing cells to match the properties. | |
| virtualize(columnWidths, start, end) | void | Positions the cells inside the horizontal viewport and detaches the rest. |
Links to this page: