UNPKG

@progress/kendo-angular-grid

Version:

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

41 lines (40 loc) 2.02 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { TemplateRef } from '@angular/core'; import { ColumnBase } from './column-base'; import { CellTemplateDirective } from '../rendering/cell-template.directive'; import { IdService } from '../common/id.service'; import { CellRowspanFn } from './cell-rowspan'; import * as i0 from "@angular/core"; /** * Represents the command columns of the Grid. Define the content of the column inside an `<ng-template>` tag. * For more information and examples, see the [Command Column Directives](slug:editing_directives_grid#toc-command-column-directives) article. * * @example * ```html * <kendo-grid [data]="data"> * <kendo-grid-column field="ID"></kendo-grid-column> * <kendo-grid-command-column title="command" [width]="220"> * <ng-template kendoGridCellTemplate> * <button kendoGridEditCommand>Edit</button> * <button kendoGridRemoveCommand>Remove</button> * </ng-template> * </kendo-grid-command-column> * </kendo-grid> * ``` */ export declare class CommandColumnComponent extends ColumnBase { parent?: ColumnBase; template: CellTemplateDirective; constructor(parent?: ColumnBase, idService?: IdService); get templateRef(): TemplateRef<any>; /** * Sets a function to determine the rowspan of each column cell. */ set cellRowspan(cellRowspan: CellRowspanFn); get cellRowspan(): CellRowspanFn; static ɵfac: i0.ɵɵFactoryDeclaration<CommandColumnComponent, [{ optional: true; host: true; skipSelf: true; }, { optional: true; }]>; static ɵcmp: i0.ɵɵComponentDeclaration<CommandColumnComponent, "kendo-grid-command-column", never, {}, {}, ["template"], never, true, never>; }