Marks an ng-template as the row loading indicator of an igx-tree-grid that loads its child rows on demand. The template is displayed in place of the expand indicator while the children of a row are being loaded.

Example

<igx-tree-grid [data]="data" primaryKey="ID" foreignKey="ParentID" [loadChildrenOnDemand]="loadChildren">
    <ng-template igxRowLoadingIndicator>
        <igx-icon>loop</igx-icon>
    </ng-template>
</igx-tree-grid>

IgxRowLoadingIndicatorTemplateDirective

Section titled "IgxRowLoadingIndicatorTemplateDirective"
new IgxRowLoadingIndicatorTemplateDirective(): IgxRowLoadingIndicatorTemplateDirective

Returns IgxRowLoadingIndicatorTemplateDirective

The template reference of the row loading indicator.

template: TemplateRef<any>

Defined in projects/igniteui-angular/grids/tree-grid/src/tree-grid.directives.ts:31

Example

@ViewChild(IgxRowLoadingIndicatorTemplateDirective) public loadingIndicator: IgxRowLoadingIndicatorTemplateDirective;
const template = this.loadingIndicator.template;