API reference: @salmonui/data-grid/engine
ColumnsSetWidthCommandtype
import type { ColumnsSetWidthCommand } from '@salmonui/data-grid/engine';type ColumnsSetWidthCommand = {
readonly type: 'columns.setWidth';
readonly columnId: ColumnId;
readonly width: number;
};
Sets one leaf width in px, clamped to minWidth/maxWidth.
| Name | Signature | Description |
|---|---|---|
type | readonly type: 'columns.setWidth'; | |
columnId | readonly columnId: ColumnId; | |
width | readonly width: number; |