Skip to content

DatatableRowDefDirective

declare class DatatableRowDefDirective

Marks an ng-template as the custom wrapper for each rendered table row.

The template must contain a DatatableRowDefComponent, which renders the table's regular row inside the wrapper. Apply row-level directives or classes to that component.

Functions

ngTemplateContextGuard

static ngTemplateContextGuard(_dir: DatatableRowDefDirective, ctx: unknown): ctx is RowDefContext