UNPKG

@progress/kendo-angular-grid

Version:

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

52 lines (51 loc) 2.2 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { AfterViewInit, NgZone, OnDestroy, Renderer2 } from '@angular/core'; import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar'; import { PopupService } from '@progress/kendo-angular-popup'; import { ContextService } from '../../../common/provider.service'; import { AdaptiveGridService } from '../../../common/adaptiveness.service'; import * as i0 from "@angular/core"; /** * Represents the toolbar tool for grouping columns 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 text="Group" kendoGridGroupTool></kendo-toolbar-button> * </kendo-toolbar> * </kendo-grid> * ``` */ export declare class GroupCommandToolbarDirective implements AfterViewInit, OnDestroy { private host; private popupService; private ctx; private ngZone; private renderer; private adaptiveGridService; private popupRef; private nextId; private toolSubs; private popupSubs; private actionSheetCloseSub; private removeClickListener; constructor(host: ToolBarButtonComponent, popupService: PopupService, ctx: ContextService, ngZone: NgZone, renderer: Renderer2, adaptiveGridService: AdaptiveGridService); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; private onClick; private openPopup; private setPopupAttributes; private initPopupProperties; private closePopup; private get buttonElement(); private isGroupingApplied; static ɵfac: i0.ɵɵFactoryDeclaration<GroupCommandToolbarDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GroupCommandToolbarDirective, "[kendoGridGroupTool]", never, {}, {}, never, never, true, never>; }