Skip to main content
cngx-src documentation

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#FlatNode

The full FlatNode for the current row — available as let-node.

value#unknown

The raw cell value for the column (node.value[column]) — available as let-value="value".