@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.
18 lines (17 loc) • 890 B
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { ColumnBase } from '../columns/column-base';
/**
* Represents the callback used by the [`isSelected`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#isSelected) property.
* Use this function to determine if a data item is selected.
*
* @example
* ```ts
* public isSelected(dataItem: any, column?: ColumnBase, columnIndex?: number): boolean {
* return dataItem.selected;
* }
* ```
*/
export type IsSelectedFn = (dataItem: any, column?: ColumnBase, columnIndex?: number) => boolean;