Skip to main content

Interface: TableOptions

Configuration options for the Table component.

Extends​

Properties​

PropertyTypeDescription
align?Align-
blur?numberBlur in virtual pixels (default: 0).
brightness?numberBrightness multiplier (default: 1).
className?stringAdditional CSS class name.
color?stringForeground CSS color (default: component/theme color).
columnAlign?("center" | "left" | "right")[]Text alignment per column (default: "left").
customPositioned?booleanWhether this element manages its own CSS transform / positioning (disables stage translate3d).
enterDelay?numberDelay in seconds before entering scene transition begins.
enterDuration?numberDuration in seconds for entering scene transition.
exitDelay?numberDelay in seconds before exiting scene transition begins.
exitDuration?numberDuration in seconds for exiting scene transition.
headers?string[]Column header labels displayed in the table header row.
height?SizeHeight in stage units or CSS length (default: content size).
id?string-
interactive?booleanWhether clicking or dragging rows focuses them interactively (default: true).
onActivate?() => void-
onDeactivate?() => void-
onMount?() => void-
onUnmount?() => void-
opacity?numberWhole-element opacity from 0 to 1 (default: 1).
origin?ElementAnchorWhich point of the element sits on its coordinate (default: "top-left").
position?Position-
rotation?numberRotation in degrees (default: 0).
rows(string | number | HTMLElement | DOMElement)[][]Two-dimensional matrix of row cell values (strings, numbers, or elements).
rowsHidden?booleanHide body rows initially for reveal (default: false).
scale?numberScale multiplier (default: 1).
size?SizeBoth dimensions in stage units or CSS length (default: unset).
style?Properties<0 | string & object, string & object>-
theme?Partial<ThemeConfig>-
width?SizeWidth in stage units or CSS length (default: content size).
x?PositionCoordHorizontal position in stage units (default: 0).
y?PositionCoordVertical position in stage units (default: 0).