/**----------------------------------------------------------------------------------------- * Copyright © 2024 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { TemplateRef, QueryList } from '@angular/core'; import { CellTemplateDirective } from '../rendering/cell-template.directive'; import { EditTemplateDirective } from '../editing/edit-template.directive'; import { ColumnBase } from './column-base'; import { ColumnComponent } from "./column.component"; import { OptionChangesService } from '../common/option-changes.service'; import * as i0 from "@angular/core"; /** * @hidden */ export declare function isSpanColumnComponent(column: any): column is SpanColumnComponent; /** * Represents a column which can be spanned over multiple data cells while the individual * header and footer cells are retained ([see example]({% slug spanned_columns_treelist %})). * Enables you to achieve more flexible layout while keeping the built-in UI element for * [sorting]({% slug sorting_treelist %}) and [filtering]({% slug filtering_treelist %}). Wrap the columns that will be * merged inside the `` tag. * * ```html * * * * *
{{ dataItem.field1 }}
*

{{ dataItem.field2 }}

*
*
* ``` */ export declare class SpanColumnComponent extends ColumnBase { /** * Defines whether the expanded indicator should be rendered in the column. * @default false */ expandable: boolean; readonly isSpanColumn: boolean; template: QueryList; editTemplate: QueryList; /** * @hidden */ childColumns: QueryList; /** * @hidden */ title: string; /** * @hidden */ headerStyle: { [key: string]: string; }; /** * @hidden */ footerStyle: { [key: string]: string; }; /** * @hidden */ headerClass: string | string[] | Set | { [key: string]: any; }; /** * @hidden */ footerClass: string | string[] | Set | { [key: string]: any; }; /** * @hidden */ includeInChooser: boolean; /** * Defines whether the edit template of the column will be rendered. The default value is `false`. * * To enable the editing functionality for a spanned column, set an edit template for it. * */ set editable(value: boolean); get editable(): boolean; /** * @hidden * added for backwards compitability */ set width(_value: number); get width(): number; /** * @hidden */ get leafIndex(): number; private _editable; constructor(parent?: ColumnBase, optionChanges?: OptionChangesService); /** * @hidden */ get templateRef(): TemplateRef; /** * @hidden */ get editTemplateRef(): TemplateRef; /** * @hidden */ get colspan(): number; /** * Toggles the locked (frozen) state of the columns. Locked columns are visible * at all times during the horizontal scrolling of the TreeList. [See example](slug:locked_columns_treelist). * * @default false */ set locked(value: boolean); get locked(): boolean; get isEditable(): boolean; get childrenArray(): any[]; get hasChildren(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }