UNPKG

@progress/kendo-angular-grid

Version:

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

58 lines (57 loc) 2.33 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { NgZone, Renderer2, AfterViewInit, OnInit, OnDestroy } from '@angular/core'; import { PopupService } from '@progress/kendo-angular-popup'; import { RefreshService, ToolBarButtonComponent } from '@progress/kendo-angular-toolbar'; import { ContextService } from '../common/provider.service'; import * as i0 from "@angular/core"; /** * Represents the `column-chooser` toolbar tool of the Grid. * You can apply this directive to any `kendo-toolbar-button` element inside a * ToolbarComponent used in the Grid. * * @example * ```html-no-run * <kendo-grid> * <kendo-toolbar> * <kendo-toolbar-button kendoGridColumnChooserTool></kendo-toolbar-button> * </kendo-toolbar> * </kendo-grid> * ``` */ export declare class ColumnChooserToolbarDirective implements OnInit, AfterViewInit, OnDestroy { private renderer; private popupSerivce; host: ToolBarButtonComponent; private ctx; private zone; private refresh; /** * Specifies if the changes in the visibility of the column will be immediately applied. * * @default false */ autoSync: boolean; /** * Specifies if all columns can be hidden. * * @default true */ allowHideAll: boolean; private popupRef; private subs; private nextId; constructor(renderer: Renderer2, popupSerivce: PopupService, host: ToolBarButtonComponent, ctx: ContextService, zone: NgZone, refresh: RefreshService); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; /** * @hidden */ onClick(e: any): void; private closePopup; static ɵfac: i0.ɵɵFactoryDeclaration<ColumnChooserToolbarDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnChooserToolbarDirective, "[kendoGridColumnChooserTool]", never, { "autoSync": { "alias": "autoSync"; "required": false; }; "allowHideAll": { "alias": "allowHideAll"; "required": false; }; }, {}, never, never, true, never>; }