@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    A table column whose cell content is defined entirely by the consumer via a projected <ng-template>.

    The template receives the row object as the implicit context (let-row) and the column reference as column – exactly like the built-in columns.

    <ui-template-column key="actions" headerText="Actions">
    <ng-template let-row>
    <button (click)="edit(row)">Edit</button>
    <button (click)="delete(row)">Delete</button>
    </ng-template>
    </ui-template-column>

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    headerText: InputSignal<string> = ...
    key: InputSignal<string> = ...

    Represents the property in the row object that represents this column

    sortable: InputSignal<boolean> = ...

    Accessors

    • get cellTemplate(): TemplateRef<UITableViewCellContext<unknown>>

      The consumer-projected template, unwrapped from the signal so it satisfies the base-class contract (TemplateRef, not Signal).

      The table body reads this property inside a template that is already within a change-detection cycle, so the signal will have resolved by the time the first row renders.

      Returns TemplateRef<UITableViewCellContext<unknown>>

    Methods

    • Parameters

      • row: unknown

      Returns unknown