@progress/kendo-angular-grid
Version:
Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.
42 lines (41 loc) • 2.09 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* 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. You have to define the content of the
* column inside an `<ng-template>` tag.
* For more information and examples, refer to the [Command Column Directives](slug:editing_directives_grid#toc-command-column-directives) article.
*
* @example
* ```html
* <kendo-grid [data]="gridData">
* <kendo-grid-column field="ProductID"></kendo-grid-column>
* <kendo-grid-command-column title="command" [width]="220">
* <ng-template kendoGridCellTemplate>
* <button kendoGridEditCommand class="k-primary">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>;
/**
* Defines a function that is used 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>;
}