UNPKG

@progress/kendo-angular-grid

Version:

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

36 lines (35 loc) 1.44 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core'; import { ContextService } from '../common/provider.service'; import { Selection } from "./selection-default"; import * as i0 from "@angular/core"; /** * Stores the row selection state of the Grid in memory * ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting)). * * @example * ```html * <kendo-grid kendoGridSelectBy="ProductID"></kendo-grid> * * <kendo-grid [kendoGridSelectBy]="myKey"></kendo-grid> * ``` * @remarks * Applied to: {@link GridComponent}. */ export declare class SelectionDirective extends Selection implements OnInit, OnDestroy { protected ctx: ContextService; constructor(ctx: ContextService, cd: ChangeDetectorRef); /** * @hidden */ ngOnInit(): void; /** * @hidden */ ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SelectionDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<SelectionDirective, "[kendoGridSelectBy]", never, {}, {}, never, never, true, never>; }