UNPKG

@progress/kendo-angular-grid

Version:

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

64 lines (63 loc) 2.56 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { EventEmitter, ElementRef } from '@angular/core'; import { SVGIcon } from '@progress/kendo-svg-icons'; import { ContextService } from '../common/provider.service'; import { ColumnMenuItemBase } from './column-menu-item-base'; import * as i0 from "@angular/core"; /** * Represents the column-menu item for editing column filters in the Grid. [See example](slug:columnmenu_grid#toc-filter-item). * * The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive. * To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by * the template to the service input of the `kendo-grid-columnmenu-filter` component. [See example](slug:columnmenu_grid#toc-customizing-the-content). * * @example * ```html * <kendo-grid [columnMenu]="true" ...> * <ng-template kendoGridColumnMenuTemplate let-service="service"> * <kendo-grid-columnmenu-filter [service]="service"> * </kendo-grid-columnmenu-filter> * </ng-template> * </kendo-grid> * ``` */ export declare class ColumnMenuFilterComponent extends ColumnMenuItemBase { ctx: ContextService; private hostElement; /** * Fires when the content is expanded. */ expand: EventEmitter<any>; /** * Fires when the content is collapsed. */ collapse: EventEmitter<any>; /** * Specifies if the content is expanded. * @default false */ expanded: boolean; /** * @hidden */ isLast: boolean; /** * @hidden */ actionsClass: string; filterIcon: SVGIcon; constructor(ctx: ContextService, hostElement: ElementRef); /** * @hidden */ onCollapse(): void; /** * @hidden */ onExpand(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ColumnMenuFilterComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ColumnMenuFilterComponent, "kendo-grid-columnmenu-filter", never, { "expanded": { "alias": "expanded"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; }, { "expand": "expand"; "collapse": "collapse"; }, never, never, true, never>; }