IDataTableColumnProps
interface
Component Props
Props for a single column cell in <OrigamDataTable> — alignment, sticky offset, nowrap, plus dimension and padding from the shared Commons interfaces.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Inheritance
Extends
Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- alignALIGN.START | ALIGN.END | ALIGN.CENTER
- Horizontal alignment of the cell content — start, end, or center.
- fixedboolean
- Pins the column to the left side of the table when the user scrolls horizontally.
- fixedOffsetnumber | string
- Left offset (px or CSS length) used to stack multiple fixed columns side by side.
- lastFixedboolean
- Marks this as the last fixed column, triggering a box-shadow divider on its right edge.
- nowrapboolean
- Prevents text wrapping inside the cell.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Fixed left column with center alignment