BasesTableColumnInfo
Unofficial
The measured and configured widths of one column of a BasesTableView.
Import:
import type { BasesTableColumnInfo } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface BasesTableColumnInfoProperties
| Property | Type | Description | |
|---|---|---|---|
| contentWidth | number | The width of the column's widest measured cell content, or 0 when not measured yet. | |
| customWidth | number | The width the user set by resizing the column, or 0 when none is set. | |
| headerWidth | number | The width of the column's header label. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| getWidth(minWidth, maxWidth) | number | Gets the width to render the column at. |
Links to this page: