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.

40 lines (39 loc) 1.93 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ChangeDetectorRef } from '@angular/core'; import { LocalizationService } from "@progress/kendo-angular-l10n"; import { ColumnInfoService } from '../common/column-info.service'; import { ColumnMenuItemBase } from './column-menu-item-base'; import { SVGIcon } from '@progress/kendo-svg-icons'; import * as i0 from "@angular/core"; /** * Represents the column-menu item that allows the user to lock or unlock columns. * * The componnt can be placed inside a [`ColumnMenuTemplate`]({% slug api_treelist_columnmenutemplatedirective %}) directive. * * To register the component as a known column menu item, set the [`ColumnMenuService`]({% slug api_treelist_columnmenuservice %}) * that is passed by the template to the service input of the `kendo-treelist-columnmenu-lock` component. * */ export declare class ColumnMenuLockComponent extends ColumnMenuItemBase { private localization; private columnInfoService; private changeDetector; unlockIcon: SVGIcon; lockIcon: SVGIcon; constructor(localization: LocalizationService, columnInfoService: ColumnInfoService, changeDetector: ChangeDetectorRef); get text(): string; get icon(): string; get svgIcon(): SVGIcon; get disabled(): boolean; /** * @hidden */ toggleColumn(): void; private toggleHierarchy; private get locked(); static ɵfac: i0.ɵɵFactoryDeclaration<ColumnMenuLockComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ColumnMenuLockComponent, "kendo-treelist-columnmenu-lock", never, {}, {}, never, never, true, never>; }