Template context type for {@link CngxCellTpl}
CngxCellTplContext
Interface
projects/data-display/treetable/models.ts
Import#
import { CngxCellTplContext } from '@cngx/data-display/treetable'
Description#
Template context type for CngxCellTpl.
<ng-template [cngxCell]="'name'" let-node let-value="value">
{{ node.value.name }} (depth {{ node.depth }})
</ng-template>Index#
Instance Properties#
$implicit#
CngxTreetableFlatNodeThe full CngxTreetableFlatNode for the current row - available as let-node.
value#
unknownThe raw cell value for the column (node.value[column]) - available as let-value="value".