UNPKG

igniteui-angular-wrappers

Version:
36 lines (35 loc) 2.18 kB
import { ElementRef } from '@angular/core'; import { Feature } from '../feature'; import { Column } from '../column.directive'; import * as i0 from "@angular/core"; export declare class IgGridMultiColumnHeadersFeature extends Feature<IgGridMultiColumnHeaders> { constructor(el: ElementRef); /** * Destroys the widget */ destroy(): void; /** * Collapses an expanded group. If the group is collapsed, the method does nothing. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. */ collapseGroup(groupKey: string, callback?: () => void): void; /** * Expands a collapsed group. If the group is expanded, the method does nothing. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. */ expandGroup(groupKey: string, callback?: () => void): void; /** * Returns multicolumn headers array. if there aren"t multicolumn headers returns undefined. */ getMultiColumnHeaders(): Array<Column>; /** * Toggles a collapsible group. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. * This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. */ toggleGroup(groupKey: string, callback?: () => void): void; static ɵfac: i0.ɵɵFactoryDeclaration<IgGridMultiColumnHeadersFeature, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<IgGridMultiColumnHeadersFeature, "multi-column-headers", never, { "inherit": { "alias": "inherit"; "required": false; }; }, { "groupCollapsing": "groupCollapsing"; "groupCollapsed": "groupCollapsed"; "groupExpanding": "groupExpanding"; "groupExpanded": "groupExpanded"; }, never, never, false, never>; }