UNPKG

@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.

17 lines (16 loc) 781 B
/**----------------------------------------------------------------------------------------- * Copyright © 2025 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 that is used by the * [`isSelected`]({% slug api_treelist_treelistcomponent %}#toc-isSelected) property. * * ```ts-no-run * isSelected(dataItem: any, column?: ColumnBase, columnIndex?: number) { * return dataItem.selected; * } * ``` */ export type IsSelectedFn = (dataItem: any, column?: ColumnBase, columnIndex?: number) => boolean;