Marks an <ng-template> as the empty-state slot shown when the tree contains no visible rows
CngxEmptyTpl
Directivev0.1.0
projects/data-display/treetable/column-template.directive.ts
Import#
import { CngxEmptyTpl } from '@cngx/data-display/treetable'
Description#
Marks an <ng-template> as the empty-state slot shown when the tree
contains no visible rows. If omitted, a default "No data" message is shown.
<cngx-treetable [tree]="tree">
<ng-template cngxEmpty>
<p>Nothing to display.</p>
</ng-template>
</cngx-treetable>