Marks an <ng-template> as a custom header template for a named columnCngxHeaderTpl
Directivev0.1.0
projects/data-display/treetable/column-template.directive.ts
Import#
import { CngxHeaderTpl } from '@cngx/data-display/treetable'
Description#
Marks an <ng-template> as a custom header template for a named column.
<cngx-treetable [tree]="tree">
<ng-template [cngxHeader]="'name'">
Full Name <mat-icon>sort</mat-icon>
</ng-template>
</cngx-treetable>
- Selector
ng-template[cngxHeader]