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.83 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 * 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>`]({% slug api_dropdowns_comboboxcolumncomponent %}) tag. * [See example]({% slug templates_multicolumncombobox %}). * * The context variables are: * - `let-dataItem="dataItem"` (`any`)&mdash;The current data item. Also available as the implicit context variable. * - `let-column="column"` ([`ColumnComponent`]({% slug api_dropdowns_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>; }