Skip to content

DatatableRowDefComponent

declare class DatatableRowDefComponent

Renders the datatable's normal row inside a custom row wrapper declared with DatatableRowDefDirective. Use this as the root content of the ng-template and apply row-level directives or classes to it.

Constructor

constructor

constructor()

Constructs a new instance of the DatatableRowDefComponent class

Inputs

preserveColumnWidthsOnClone

preserveColumnWidthsOnClone = input<boolean>()

When true, clones of this row get the measured column widths stamped onto them. The clone is detached from the table grid, it has no parent tracks to inherit.

Properties

rowContext

rowContext: {
        disabled: boolean | undefined;
        template: TemplateRef<unknown>;
        rowTemplate: TemplateRef<unknown>;
        row: RowOrGroup<unknown>;
        index: number;
    }

rowDef

rowDef: DatatableRowDefInternalDirective