UNPKG

@progress/kendo-angular-dropdowns

Version:

A wide variety of native Angular dropdown components including AutoComplete, ComboBox, DropDownList, DropDownTree, MultiColumnComboBox, MultiSelect, and MultiSelectTree

34 lines (33 loc) 1.97 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2026 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 * as i0 from "@angular/core"; /** * Renders the column cell content of the MultiColumnComboBox component. * * To define a column cell template, nest an `<ng-template>` tag with the `kendoMultiColumnComboBoxColumnCellTemplate` directive inside the [`<kendo-combobox-column>`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/comboboxcolumncomponent) tag. * [See example](https://www.telerik.com/kendo-angular-ui/components/dropdowns/multicolumncombobox/templates). * * The context variables are: * - `let-dataItem="dataItem"` (`any`)&mdash;The current data item. Also available as the implicit context variable. * - `let-column="column"` ([`ColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/comboboxcolumncomponent))&mdash;The current column configuration object. * * @example * ```html * <kendo-multicolumncombobox ...> * <kendo-combobox-column field="name" title="Name"> * <ng-template kendoMultiColumnComboBoxColumnCellTemplate let-dataItem="dataItem" let-column="column"> * {{ dataItem[column.field] }} * </ng-template> * </kendo-combobox-column> * </kendo-multicolumncombobox> * ``` */ export declare class ColumnCellTemplateDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); static ɵfac: i0.ɵɵFactoryDeclaration<ColumnCellTemplateDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnCellTemplateDirective, "[kendoMultiColumnComboBoxColumnCellTemplate]", never, {}, {}, never, never, true, never>; }