@elemental/ui / Class

LmnColumnDefDirective

Decorators:@Directive
Selectors:[lmnColumnDef]

Column definition for the lmn-table.

Properties

NameTypeDescription
allowResize
r
InputSignalWithTransform<boolean, unknown>

Allows resizing of the column.

allowSorting
r
InputSignalWithTransform<boolean, unknown>

Allows sorting of the column.

columnWidth
r
InputSignal<string | number | null>

Fixed width of the column. Can be a string, number, or null for default width.

dataCellDef
r
Signal<LmnCellDefDirective<any> | undefined>

Template for the data cell of the column.

defaultSorting
r
InputSignal<LmnColumnSorting>

Default sorting order of the column. Can be 'asc' for ascending, 'desc' for descending, or null for no sorting.

fixed
r
InputSignal<LmnColumnFixedPosition | undefined>

Fixed position of the column. Can be 'start', 'end', or undefined for no fixed position.

footerCellDef
r
Signal<LmnFooterCellDefDirective | undefined>

Template for the footer cell of the column.

headerCellDef
r
Signal<LmnHeaderCellDefDirective | undefined>

Template for the header cell of the column.

name
r
InputSignal<string>

Name of the column.

resizing
r
WritableSignal<boolean>

Indicates if the column is currently being resized.