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.

typescript

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.

align
ALIGN.START | ALIGN.END | ALIGN.CENTER
Horizontal alignment of the cell content — start, end, or center.
fixed
boolean
Pins the column to the left side of the table when the user scrolls horizontally.
fixedOffset
number | string
Left offset (px or CSS length) used to stack multiple fixed columns side by side.
lastFixed
boolean
Marks this as the last fixed column, triggering a box-shadow divider on its right edge.
nowrap
boolean
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

vue