UNPKG

@progress/kendo-angular-grid

Version:

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

62 lines (61 loc) 2.85 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { FilterService } from '../filter.service'; import { NumericFilterComponent } from '../numeric-filter.component'; import { SizingOptionsService } from '../../layout/sizing-options.service'; import { ContextService } from '../../common/provider.service'; import * as i0 from "@angular/core"; /** * Represents a filter cell component for filtering of numeric columns. * See the article about the [built-in filter components](slug:filter_row#toc-built-in-filter-row-components). * * @example * ```html * <kendo-grid-column field="UnitPrice"> * <ng-template kendoGridFilterCellTemplate let-filter let-column="column"> * <kendo-grid-numeric-filter-cell * [column]="column" * [filter]="filter"> * </kendo-grid-numeric-filter-cell> * </ng-template> * </kendo-grid-column> * ``` * @remarks * Supported children components are: {@link EqualFilterOperatorComponent}, {@link NotEqualFilterOperatorComponent}, {@link GreaterFilterOperatorComponent}, {@link GreaterOrEqualToFilterOperatorComponent}, {@link LessFilterOperatorComponent}, {@link LessOrEqualToFilterOperatorComponent}, {@link IsNullFilterOperatorComponent}, {@link IsNotNullFilterOperatorComponent}. */ export declare class NumericFilterCellComponent extends NumericFilterComponent { protected ctx: ContextService; /** * Sets the delay time in milliseconds before the filter value is submitted. * A value of `0` means no delay. * @type {number} * @default 500 */ filterDelay: number; /** * Determines if the drop-down filter operators are displayed. * @type {boolean} * @default true */ showOperators: boolean; /** * The placeholder text for the filter input. * @type {string} */ placeholder: string; private subs; constructor(filterService: FilterService, ctx: ContextService, sizingService: SizingOptionsService); ngOnDestroy(): void; /** * @hidden */ messageFor(key: string): string; /** * @hidden */ get columnLabel(): string; static ɵfac: i0.ɵɵFactoryDeclaration<NumericFilterCellComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NumericFilterCellComponent, "kendo-grid-numeric-filter-cell", never, { "filterDelay": { "alias": "filterDelay"; "required": false; }; "showOperators": { "alias": "showOperators"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>; }