UNPKG

@progress/kendo-angular-grid

Version:

Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.

32 lines (31 loc) 1.76 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { TemplateRef } from '@angular/core'; import * as i0 from "@angular/core"; /** * Represents the virtual scrolling cell template of the Grid while loading new data. Provides an option to customize the * appearance of the indicator that is displayed while new data is loading. To define the loading cell template, * nest an `<ng-template>` tag with the `kendoGridCellLoadingTemplate` directive inside `<kendo-grid>` tag [see example]({% slug virtualscrolling_grid %}#toc-custom-loading-skeleton). * * * The template context is set to the current column and the following additional field is passed: * * - `column`&mdash;The current column instance. Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax (for example `let-column`). * * @example * ```html * <kendo-grid ... scrollable="virtual" [rowHeight]="36" [height]="450"> * <ng-template kendoGridCellLoadingTemplate let-column> * ... * </ng-template> * </kendo-grid> * ``` */ export declare class CellLoadingTemplateDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); static ɵfac: i0.ɵɵFactoryDeclaration<CellLoadingTemplateDirective, [{ optional: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<CellLoadingTemplateDirective, "[kendoGridCellLoadingTemplate]", never, {}, {}, never, never, true, never>; }