@progress/kendo-angular-treelist
Version:
Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.
35 lines (34 loc) • 1.42 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
/**
* @hidden
*
* An injection token used by the expand-directive to interface with the TreeList or the Gantt.
*/
export declare abstract class ExpandableTreeComponent {
/**
* Extracts the id value if an idField is set.
*/
abstract idGetter: any;
/**
* Emits when the expand or collapse events are fired.
*/
abstract expandStateChange: EventEmitter<any>;
/**
* Sets the callback function that indicates if a particular TreeList item is expanded.
*/
abstract isExpanded(node: any): boolean;
/**
* Updates the state of the current TreeList view without reloading the data.
*
* Checks all currently rendered items for changes and
* triggers re-evaluation of the the `isExpanded` and `isSelected` callbacks.
*/
abstract updateView(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableTreeComponent, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ExpandableTreeComponent>;
}