API reference: @salmonui/pivot-table
PivotDisplayPropsinterface
import type { PivotDisplayProps } from '@salmonui/pivot-table';interface PivotDisplayProps {
rowHeight?: number | undefined;
columnWidth?: number | undefined;
rowHeaderWidth?: number | undefined;
height?: number | string | undefined;
resizable?: boolean | undefined;
reorderable?: boolean | undefined;
textWrap?: boolean | 'header' | 'content' | 'both' | undefined;
overflow?: 'clip' | 'ellipsis' | 'ellipsisWithTooltip' | undefined;
gridLines?: 'default' | 'both' | 'none' | 'horizontal' | 'vertical' | undefined;
striped?: boolean | undefined;
highlightOnHover?: boolean | undefined;
}
Display props forwarded to the Data Grid renderer by whitelist.
| Name | Signature | Description |
|---|---|---|
rowHeightoptional | rowHeight?: number | undefined; | |
columnWidthoptional | columnWidth?: number | undefined; | Value column width in px. Default 120. |
rowHeaderWidthoptional | rowHeaderWidth?: number | undefined; | Row header column width in px (compact) or per row field (tabular). Default 220 / 150. |
heightoptional | height?: number | string | undefined; | |
resizableoptional | resizable?: boolean | undefined; | |
reorderableoptional | reorderable?: boolean | undefined; | |
textWrapoptional | textWrap?: boolean | 'header' | 'content' | 'both' | undefined; | |
overflowoptional | overflow?: 'clip' | 'ellipsis' | 'ellipsisWithTooltip' | undefined; | |
gridLinesoptional | gridLines?: 'default' | 'both' | 'none' | 'horizontal' | 'vertical' | undefined; | |
stripedoptional | striped?: boolean | undefined; | |
highlightOnHoveroptional | highlightOnHover?: boolean | undefined; |