Skip to content

BasesTableColumnInfo

Unofficial

The measured and configured widths of one column of a BasesTableView.

Import:

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

Signature:

export interface BasesTableColumnInfo

Properties

PropertyTypeDescription
contentWidthnumberThe width of the column's widest measured cell content, or 0 when not measured yet.
customWidthnumberThe width the user set by resizing the column, or 0 when none is set.
headerWidthnumberThe width of the column's header label.

Methods

MethodReturnsDescription
getWidth(minWidth, maxWidth)numberGets the width to render the column at.

Links to this page: