@progress/kendo-angular-grid
Version:
Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.
78 lines (77 loc) • 4.3 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 { ElementRef, NgZone, Renderer2, EventEmitter, OnInit, OnDestroy, SimpleChanges, QueryList, ChangeDetectorRef } from '@angular/core';
import { ColumnMenuService } from './column-menu.service';
import { ColumnListKeyboardNavigation } from './column-list-kb-nav.service';
import { CheckBoxComponent, TextBoxComponent } from '@progress/kendo-angular-inputs';
import { ContextService } from '../common/provider.service';
import { AdaptiveGridService } from '../common/adaptiveness.service';
import { ColumnInfoService } from '../common/column-info.service';
import * as i0 from "@angular/core";
/**
* @hidden
*/
export declare class ColumnListComponent implements OnInit, OnDestroy {
private element;
private ngZone;
private renderer;
listNavigationService: ColumnListKeyboardNavigation;
private cdr;
columnInfoService: ColumnInfoService;
private adaptiveGridService;
private ctx;
className: boolean;
get listSizeMd(): boolean;
get listSizeLg(): boolean;
reset: EventEmitter<any>;
apply: EventEmitter<any>;
columnChange: EventEmitter<any>;
set columns(value: any[]);
get columns(): any[];
get checkedCheckboxesLength(): number;
filteredColumns: any[];
autoSync: boolean;
showSelectAll: boolean;
isFiltered: boolean;
ariaLabel: string;
allowHideAll: boolean;
applyText: string;
resetText: string;
isLast: boolean;
isExpanded: boolean;
service: ColumnMenuService;
filterable: boolean;
checkboxes: QueryList<CheckBoxComponent>;
get columnCheckboxes(): CheckBoxComponent[];
get lockedColumnCheckboxes(): CheckBoxComponent[];
get unlockedColumnCheckboxes(): CheckBoxComponent[];
get checkedCheckboxes(): number;
resetButton: ElementRef;
applyButton: ElementRef;
filterInput: TextBoxComponent;
private _columns;
private domSubscriptions;
private lastDisabledCheckbox;
private handledKeys;
constructor(element: ElementRef, ngZone: NgZone, renderer: Renderer2, listNavigationService: ColumnListKeyboardNavigation, cdr: ChangeDetectorRef, columnInfoService: ColumnInfoService, adaptiveGridService: AdaptiveGridService, ctx: ContextService);
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnChanges(changes: SimpleChanges): void;
onSelectAllCheckboxChange(checkedState: any): void;
ngOnDestroy(): void;
cancelChanges(): void;
applyChanges(): void;
focusActiveColumn(e: Event): void;
onTab(e: Event): void;
onKeydown: (e: KeyboardEvent) => void;
private updateDisabled;
private disableFirstUnlockedCheckedCheckbox;
private enableLastDisabledColumn;
private setDisabledState;
onCheckboxChange(checkedState: any, column: any, _index: number): void;
private setTabindex;
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnListComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnListComponent, "kendo-grid-columnlist", never, { "columns": { "alias": "columns"; "required": false; }; "filteredColumns": { "alias": "filteredColumns"; "required": false; }; "autoSync": { "alias": "autoSync"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "isFiltered": { "alias": "isFiltered"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "allowHideAll": { "alias": "allowHideAll"; "required": false; }; "applyText": { "alias": "applyText"; "required": false; }; "resetText": { "alias": "resetText"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "service": { "alias": "service"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; }, { "reset": "reset"; "apply": "apply"; "columnChange": "columnChange"; }, never, never, true, never>;
}