API reference: @salmonui/data-grid/engine
FitColumninterface
import type { FitColumn } from '@salmonui/data-grid/engine';interface FitColumn {
readonly width: number;
readonly max: number;
readonly flexible: boolean;
}
One visible leaf column as seen by fitColumnWidths.
| Name | Signature | Description |
|---|---|---|
width | readonly width: number; | Resolved (declared or user) width in px. |
max | readonly max: number; |
|
flexible | readonly flexible: boolean; | False for columns that never stretch (fixed-size columns such as the selection column). |