@progress/kendo-angular-grid 19.0.0-develop.8 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adaptiveness/adaptive-mode.d.ts +12 -0
- package/adaptiveness/adaptive-renderer.component.d.ts +89 -0
- package/codemods/template-transformer/index.js +94 -0
- package/codemods/utils.js +553 -0
- package/codemods/v19/grid-kendogridgroupbinding.js +51 -0
- package/column-menu/column-chooser.component.d.ts +4 -0
- package/column-menu/column-list.component.d.ts +10 -3
- package/column-menu/column-menu-item.component.d.ts +48 -3
- package/column-menu/column-menu-item.directive.d.ts +5 -2
- package/column-menu/column-menu.component.d.ts +4 -2
- package/columns/column-base.d.ts +5 -0
- package/columns/span-column.component.d.ts +2 -2
- package/common/adaptiveness.service.d.ts +50 -0
- package/common/single-popup.service.d.ts +3 -1
- package/common/toolbar-tool-base.directive.d.ts +26 -0
- package/directives.d.ts +13 -5
- package/editing/add-command-tool.directive.d.ts +7 -6
- package/editing/cancel-command-tool.directive.d.ts +38 -0
- package/editing/edit-command-tool.directive.d.ts +38 -0
- package/editing/edit.service.d.ts +1 -1
- package/editing/remove-command-tool.directive.d.ts +39 -0
- package/editing/save-command-tool.directive.d.ts +38 -0
- package/editing/toolbar-editing-tool-base.directive.d.ts +29 -0
- package/editing-directives/editing-directive-base.d.ts +4 -1
- package/editing-directives/external-editing.directive.d.ts +3 -1
- package/esm2022/adaptiveness/adaptive-mode.mjs +5 -0
- package/esm2022/adaptiveness/adaptive-renderer.component.mjs +1197 -0
- package/esm2022/column-menu/column-chooser.component.mjs +13 -11
- package/esm2022/column-menu/column-list.component.mjs +51 -8
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-autosize.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-chooser.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-container.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-filter.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-item.component.mjs +123 -12
- package/esm2022/column-menu/column-menu-item.directive.mjs +14 -5
- package/esm2022/column-menu/column-menu-lock.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-position.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-sort.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-stick.component.mjs +1 -1
- package/esm2022/column-menu/column-menu.component.mjs +68 -44
- package/esm2022/column-resizing/column-handle.directive.mjs +2 -2
- package/esm2022/columns/column-base.mjs +9 -0
- package/esm2022/columns/columns-container.mjs +1 -1
- package/esm2022/columns/span-column.component.mjs +9 -9
- package/esm2022/common/adaptiveness.service.mjs +72 -0
- package/esm2022/common/single-popup.service.mjs +9 -3
- package/esm2022/common/toolbar-tool-base.directive.mjs +81 -0
- package/esm2022/directives.mjs +21 -4
- package/esm2022/editing/add-command-tool.directive.mjs +12 -15
- package/esm2022/editing/cancel-command-tool.directive.mjs +64 -0
- package/esm2022/editing/edit-command-tool.directive.mjs +59 -0
- package/esm2022/editing/remove-command-tool.directive.mjs +60 -0
- package/esm2022/editing/remove-command.directive.mjs +1 -0
- package/esm2022/editing/save-command-tool.directive.mjs +64 -0
- package/esm2022/editing/toolbar-editing-tool-base.directive.mjs +94 -0
- package/esm2022/editing-directives/editing-directive-base.mjs +5 -2
- package/esm2022/editing-directives/external-editing.directive.mjs +28 -14
- package/esm2022/excel/excel-command-tool.directive.mjs +12 -17
- package/esm2022/filtering/filter-input.directive.mjs +14 -2
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +4 -2
- package/esm2022/filtering/menu/date-filter-menu-input.component.mjs +4 -0
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +6 -0
- package/esm2022/filtering/menu/filter-menu-container.component.mjs +24 -10
- package/esm2022/filtering/menu/filter-menu-input-wrapper.component.mjs +26 -4
- package/esm2022/filtering/menu/filter-menu.component.mjs +44 -29
- package/esm2022/filtering/menu/numeric-filter-menu-input.component.mjs +2 -0
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +6 -0
- package/esm2022/filtering/menu/string-filter-menu-input.component.mjs +2 -0
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +10 -1
- package/esm2022/grid.component.mjs +376 -82
- package/esm2022/grid.module.mjs +115 -101
- package/esm2022/index.mjs +11 -1
- package/esm2022/localization/messages.mjs +128 -2
- package/esm2022/navigation/toolbar-tool-name.mjs +17 -0
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command-tool.directive.mjs +12 -15
- package/esm2022/rendering/cell.component.mjs +3 -3
- package/esm2022/rendering/header/header.component.mjs +1 -1
- package/esm2022/rendering/list.component.mjs +1 -1
- package/esm2022/rendering/table-body.component.mjs +1 -1
- package/esm2022/rendering/toolbar/tools/column-chooser-tool.directive.mjs +210 -0
- package/esm2022/rendering/toolbar/tools/filter-command-tool.directive.mjs +69 -34
- package/esm2022/rendering/toolbar/tools/filter-tool-wrapper.component.mjs +29 -8
- package/esm2022/rendering/toolbar/tools/filter-toolbar-tool.component.mjs +78 -8
- package/esm2022/rendering/toolbar/tools/group-command-tool.directive.mjs +206 -0
- package/esm2022/rendering/toolbar/tools/group-toolbar-tool.component.mjs +425 -0
- package/esm2022/rendering/toolbar/tools/sort-command-tool.directive.mjs +54 -20
- package/esm2022/rendering/toolbar/tools/sort-toolbar-tool.component.mjs +24 -8
- package/esm2022/selection/selection.service.mjs +11 -0
- package/esm2022/state-management/grid-state.models.mjs +26 -0
- package/esm2022/state-management/redo-command-tool.mjs +66 -0
- package/esm2022/state-management/undo-command-tool.mjs +66 -0
- package/esm2022/state-management/undo-redo.directive.mjs +178 -0
- package/esm2022/state-management/undo-redo.service.mjs +22 -0
- package/esm2022/state-management/undo-redo.stack.mjs +232 -0
- package/esm2022/utils.mjs +13 -13
- package/excel/excel-command-tool.directive.d.ts +5 -5
- package/fesm2022/progress-kendo-angular-grid.mjs +7384 -3773
- package/filtering/filter-input.directive.d.ts +1 -0
- package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/filter-menu-container.component.d.ts +15 -4
- package/filtering/menu/filter-menu-input-wrapper.component.d.ts +8 -3
- package/filtering/menu/filter-menu.component.d.ts +6 -3
- package/filtering/menu/numeric-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/string-filter-menu.component.d.ts +1 -0
- package/grid.component.d.ts +86 -33
- package/grid.module.d.ts +108 -100
- package/index.d.ts +10 -1
- package/localization/messages.d.ts +86 -2
- package/navigation/toolbar-tool-name.d.ts +17 -0
- package/package.json +36 -20
- package/pdf/pdf-command-tool.directive.d.ts +6 -5
- package/rendering/cell.component.d.ts +1 -1
- package/{column-menu → rendering/toolbar/tools}/column-chooser-tool.directive.d.ts +18 -6
- package/rendering/toolbar/tools/filter-command-tool.directive.d.ts +10 -1
- package/rendering/toolbar/tools/filter-tool-wrapper.component.d.ts +6 -5
- package/rendering/toolbar/tools/filter-toolbar-tool.component.d.ts +11 -2
- package/rendering/toolbar/tools/group-command-tool.directive.d.ts +51 -0
- package/rendering/toolbar/tools/group-toolbar-tool.component.d.ts +61 -0
- package/rendering/toolbar/tools/sort-command-tool.directive.d.ts +10 -1
- package/rendering/toolbar/tools/sort-toolbar-tool.component.d.ts +5 -1
- package/schematics/ngAdd/index.js +4 -4
- package/selection/selection.service.d.ts +1 -0
- package/state-management/grid-state.models.d.ts +58 -0
- package/state-management/redo-command-tool.d.ts +38 -0
- package/state-management/undo-command-tool.d.ts +38 -0
- package/state-management/undo-redo.directive.d.ts +51 -0
- package/state-management/undo-redo.service.d.ts +19 -0
- package/state-management/undo-redo.stack.d.ts +104 -0
- package/utils.d.ts +11 -5
- package/esm2022/column-menu/column-chooser-tool.directive.mjs +0 -172
|
@@ -4,19 +4,29 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { MenuTabbingService } from './menu-tabbing.service';
|
|
6
6
|
import { OnInit, EventEmitter, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
7
|
-
import { CompositeFilterDescriptor } from "@progress/kendo-data-query";
|
|
7
|
+
import { CompositeFilterDescriptor, FilterDescriptor } from "@progress/kendo-data-query";
|
|
8
8
|
import { ColumnComponent } from "../../columns/column.component";
|
|
9
9
|
import { FilterService } from "../filter.service";
|
|
10
10
|
import { ContextService } from '../../common/provider.service';
|
|
11
|
+
import { AdaptiveGridService } from '../../common/adaptiveness.service';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export declare const validFilters: ({ value, operator }: FilterDescriptor) => boolean;
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
export declare const parentLogicOfDefault: (filter: any, field: any, def?: string) => any;
|
|
12
21
|
/**
|
|
13
22
|
* @hidden
|
|
14
23
|
*/
|
|
15
24
|
export declare class FilterMenuContainerComponent implements OnInit, OnDestroy {
|
|
16
25
|
protected parentService: FilterService;
|
|
17
26
|
childService: FilterService;
|
|
18
|
-
|
|
27
|
+
ctx: ContextService;
|
|
19
28
|
protected cd: ChangeDetectorRef;
|
|
29
|
+
private adaptiveGridService;
|
|
20
30
|
close: EventEmitter<any>;
|
|
21
31
|
/**
|
|
22
32
|
* The column with which the filter is associated.
|
|
@@ -52,7 +62,7 @@ export declare class FilterMenuContainerComponent implements OnInit, OnDestroy {
|
|
|
52
62
|
private subscription;
|
|
53
63
|
private _templateContext;
|
|
54
64
|
private _filter;
|
|
55
|
-
constructor(parentService: FilterService, childService: FilterService, ctx: ContextService, cd: ChangeDetectorRef, menuTabbingService: MenuTabbingService);
|
|
65
|
+
constructor(parentService: FilterService, childService: FilterService, ctx: ContextService, cd: ChangeDetectorRef, menuTabbingService: MenuTabbingService, adaptiveGridService: AdaptiveGridService);
|
|
56
66
|
ngOnInit(): void;
|
|
57
67
|
ngAfterViewChecked(): void;
|
|
58
68
|
ngOnDestroy(): void;
|
|
@@ -61,9 +71,10 @@ export declare class FilterMenuContainerComponent implements OnInit, OnDestroy {
|
|
|
61
71
|
get hasTemplate(): boolean;
|
|
62
72
|
submit(): boolean;
|
|
63
73
|
reset(): void;
|
|
74
|
+
resetChildFilters(): void;
|
|
64
75
|
onTab(e: Event, buttonType: string): void;
|
|
65
76
|
get clearText(): string;
|
|
66
77
|
get filterText(): string;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterMenuContainerComponent, [{ skipSelf: true; }, null, null, null, null]>;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterMenuContainerComponent, [{ skipSelf: true; }, null, null, null, null, null]>;
|
|
68
79
|
static ɵcmp: i0.ɵɵComponentDeclaration<FilterMenuContainerComponent, "kendo-grid-filter-menu-container", never, { "column": { "alias": "column"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "menuTabbingService": { "alias": "menuTabbingService"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "actionsClass": { "alias": "actionsClass"; "required": false; }; }, { "close": "close"; }, never, never, true, never>;
|
|
69
80
|
}
|
|
@@ -2,29 +2,34 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { OnDestroy } from '@angular/core';
|
|
5
6
|
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
6
7
|
import { CompositeFilterDescriptor, FilterDescriptor } from "@progress/kendo-data-query";
|
|
7
8
|
import { MenuTabbingService } from './menu-tabbing.service';
|
|
8
9
|
import { FilterService } from '../filter.service';
|
|
9
10
|
import { FilterInputWrapperComponent } from "../filter-input-wrapper.component";
|
|
10
11
|
import { ContextService } from '../../common/provider.service';
|
|
12
|
+
import { AdaptiveGridService } from '../../common/adaptiveness.service';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
12
14
|
/**
|
|
13
15
|
* @hidden
|
|
14
16
|
*/
|
|
15
|
-
export declare class FilterMenuInputWrapperComponent extends FilterInputWrapperComponent {
|
|
16
|
-
|
|
17
|
+
export declare class FilterMenuInputWrapperComponent extends FilterInputWrapperComponent implements OnDestroy {
|
|
18
|
+
ctx: ContextService;
|
|
19
|
+
private adaptiveGridService;
|
|
17
20
|
filterService: FilterService;
|
|
18
21
|
isFirstDropDown: boolean;
|
|
19
22
|
menuTabbingService: MenuTabbingService;
|
|
20
23
|
firstOperatorDropDown: DropDownListComponent;
|
|
21
24
|
private _currentFilter;
|
|
25
|
+
private subs;
|
|
22
26
|
/**
|
|
23
27
|
* @hidden
|
|
24
28
|
*/
|
|
25
29
|
get hostClasses(): boolean;
|
|
26
|
-
constructor(ctx: ContextService);
|
|
30
|
+
constructor(ctx: ContextService, adaptiveGridService: AdaptiveGridService);
|
|
27
31
|
ngAfterViewInit(): void;
|
|
32
|
+
ngOnDestroy(): void;
|
|
28
33
|
operatorChange(dataItem: any): void;
|
|
29
34
|
protected filterChange(filter: CompositeFilterDescriptor): void;
|
|
30
35
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NavigationService } from './../../navigation/navigation.service';
|
|
6
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
|
|
6
|
+
import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
|
|
7
7
|
import { FilterService } from "../filter.service";
|
|
8
8
|
import { CompositeFilterDescriptor } from "@progress/kendo-data-query";
|
|
9
9
|
import { ColumnComponent } from '../../columns/column.component';
|
|
@@ -12,6 +12,7 @@ import { PopupRef } from '@progress/kendo-angular-popup';
|
|
|
12
12
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
13
13
|
import { ContextService } from '../../common/provider.service';
|
|
14
14
|
import { IdService } from '../../common/id.service';
|
|
15
|
+
import { AdaptiveGridService } from '../../common/adaptiveness.service';
|
|
15
16
|
import * as i0 from "@angular/core";
|
|
16
17
|
/**
|
|
17
18
|
* @hidden
|
|
@@ -23,6 +24,8 @@ export declare class FilterMenuComponent implements OnDestroy {
|
|
|
23
24
|
protected navigationService: NavigationService;
|
|
24
25
|
protected renderer: Renderer2;
|
|
25
26
|
protected cdr: ChangeDetectorRef;
|
|
27
|
+
adaptiveGridService: AdaptiveGridService;
|
|
28
|
+
private zone;
|
|
26
29
|
protected idService: IdService;
|
|
27
30
|
filterIcon: SVGIcon;
|
|
28
31
|
/**
|
|
@@ -40,7 +43,7 @@ export declare class FilterMenuComponent implements OnDestroy {
|
|
|
40
43
|
tabIndex: string;
|
|
41
44
|
popupRef: PopupRef;
|
|
42
45
|
private popupSubs;
|
|
43
|
-
constructor(filterService: FilterService, popupService: SinglePopupService, ctx: ContextService, navigationService: NavigationService, renderer: Renderer2, cdr: ChangeDetectorRef, idService: IdService);
|
|
46
|
+
constructor(filterService: FilterService, popupService: SinglePopupService, ctx: ContextService, navigationService: NavigationService, renderer: Renderer2, cdr: ChangeDetectorRef, adaptiveGridService: AdaptiveGridService, zone: NgZone, idService: IdService);
|
|
44
47
|
ngOnDestroy(): void;
|
|
45
48
|
get hasFilters(): boolean;
|
|
46
49
|
/**
|
|
@@ -56,6 +59,6 @@ export declare class FilterMenuComponent implements OnDestroy {
|
|
|
56
59
|
private updateAria;
|
|
57
60
|
private cleanUp;
|
|
58
61
|
private focusRoot;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterMenuComponent, [null, null, null, null, null, null, { optional: true; }]>;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterMenuComponent, [null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
60
63
|
static ɵcmp: i0.ɵɵComponentDeclaration<FilterMenuComponent, "kendo-grid-filter-menu", never, { "column": { "alias": "column"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, never, true, never>;
|
|
61
64
|
}
|
package/grid.component.d.ts
CHANGED
|
@@ -76,11 +76,16 @@ import { GridNavigableSettings } from './navigation/navigable-settings';
|
|
|
76
76
|
import { GridSize } from './common/size-options';
|
|
77
77
|
import { SizingOptionsService } from './layout/sizing-options.service';
|
|
78
78
|
import { RowReorderEvent } from './row-reordering/types';
|
|
79
|
-
import { DragTargetContainerDirective, DragTargetDataFn, DropTargetContainerDirective } from '@progress/kendo-angular-utils';
|
|
79
|
+
import { AdaptiveService, DragTargetContainerDirective, DragTargetDataFn, DropTargetContainerDirective } from '@progress/kendo-angular-utils';
|
|
80
80
|
import { RowReorderService } from './row-reordering/row-reorder.service';
|
|
81
81
|
import { StatusBarTemplateDirective } from './aggregates/status-bar-template.directive';
|
|
82
82
|
import { PagerTemplateDirective } from '@progress/kendo-angular-pager';
|
|
83
83
|
import { GridResizableSettings } from './common/resizable-settings';
|
|
84
|
+
import { GridState } from './state-management/grid-state.models';
|
|
85
|
+
import { UndoRedoService } from './state-management/undo-redo.service';
|
|
86
|
+
import { AdaptiveGridService } from './common/adaptiveness.service';
|
|
87
|
+
import { AdaptiveMode } from './adaptiveness/adaptive-mode';
|
|
88
|
+
import { AdaptiveRendererComponent } from './adaptiveness/adaptive-renderer.component';
|
|
84
89
|
import * as i0 from "@angular/core";
|
|
85
90
|
/**
|
|
86
91
|
* Represents the Kendo UI for Angular Data Grid component.
|
|
@@ -118,6 +123,8 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
118
123
|
private localization;
|
|
119
124
|
private ctx;
|
|
120
125
|
private sizingService;
|
|
126
|
+
private adaptiveService;
|
|
127
|
+
adaptiveGridService: AdaptiveGridService;
|
|
121
128
|
rowReorderService: RowReorderService;
|
|
122
129
|
/**
|
|
123
130
|
* Sets the data of the Grid. If an array is provided, the Grid automatically gets the total count
|
|
@@ -151,6 +158,10 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
151
158
|
* Set the `rowHeight` option to the exact pixels as the height of the `tr` element appears in the DOM.
|
|
152
159
|
*/
|
|
153
160
|
rowHeight: number;
|
|
161
|
+
/**
|
|
162
|
+
* Enables or disables the adaptive mode. By default, adaptive rendering is disabled.
|
|
163
|
+
*/
|
|
164
|
+
adaptiveMode: AdaptiveMode;
|
|
154
165
|
/**
|
|
155
166
|
* Represent the actual height of each Grid detail row (`tr`) element in the DOM.
|
|
156
167
|
* Required by the [virtual scrolling functionality]({% slug scrollmmodes_grid %}).
|
|
@@ -247,6 +258,20 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
247
258
|
* @hidden
|
|
248
259
|
*/
|
|
249
260
|
get marqueeSelection(): boolean;
|
|
261
|
+
/**
|
|
262
|
+
* @hidden
|
|
263
|
+
*/
|
|
264
|
+
get isAdaptiveModeEnabled(): boolean;
|
|
265
|
+
/**
|
|
266
|
+
* @hidden
|
|
267
|
+
*
|
|
268
|
+
* The `isOpen` property is used to determine if a Grid Popup or ActionSheet is open.
|
|
269
|
+
*/
|
|
270
|
+
get isOpen(): boolean;
|
|
271
|
+
/**
|
|
272
|
+
* @hidden
|
|
273
|
+
*/
|
|
274
|
+
get isActionSheetExpanded(): boolean;
|
|
250
275
|
/**
|
|
251
276
|
* @hidden
|
|
252
277
|
*/
|
|
@@ -284,22 +309,12 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
284
309
|
set rowReorderable(value: boolean);
|
|
285
310
|
get rowReorderable(): boolean;
|
|
286
311
|
/**
|
|
287
|
-
*
|
|
288
|
-
* By default, navigation is
|
|
312
|
+
* When the keyboard navigation is enabled, the user can use dedicated shortcuts to interact with the Grid.
|
|
313
|
+
* By default, navigation is enabled. To disable it altogether, and include the Grid content in the normal tab sequence, set the property to `false`.
|
|
289
314
|
* To enable navigation through separate Grid sections only, provide a [`GridNavigableSection`]({% slug api_grid_gridnavigablesection %}) array.
|
|
290
315
|
*/
|
|
291
316
|
set navigable(value: GridNavigableSettings);
|
|
292
317
|
get navigable(): GridNavigableSettings;
|
|
293
|
-
/**
|
|
294
|
-
* @hidden
|
|
295
|
-
*
|
|
296
|
-
* An alias for `navigable` for users who migrate from Kendo UI for jQuery.
|
|
297
|
-
*/
|
|
298
|
-
set navigatable(value: GridNavigableSettings);
|
|
299
|
-
/**
|
|
300
|
-
* @hidden
|
|
301
|
-
*/
|
|
302
|
-
get navigatable(): GridNavigableSettings;
|
|
303
318
|
/**
|
|
304
319
|
* Indicates whether the Grid columns will be resized during initialization so that
|
|
305
320
|
* they fit their headers and row content.
|
|
@@ -358,6 +373,11 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
358
373
|
* @hidden
|
|
359
374
|
*/
|
|
360
375
|
get selection(): GridSelectionItem[];
|
|
376
|
+
/**
|
|
377
|
+
* The current Grid `GridState` objects. Contains the information about data operations and column state, required
|
|
378
|
+
* to store and restore the Grid state.
|
|
379
|
+
*/
|
|
380
|
+
get currentState(): GridState;
|
|
361
381
|
/**
|
|
362
382
|
* If set to `true`, the user can resize columns by dragging the edges (resize handles) of their header cells
|
|
363
383
|
* ([see example]({% slug resizing_columns_grid %})).
|
|
@@ -391,6 +411,22 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
391
411
|
* @default false
|
|
392
412
|
*/
|
|
393
413
|
hideHeader: boolean;
|
|
414
|
+
/**
|
|
415
|
+
* Specifies if the currently inactive toolbar tools will be visible. Applicable when the toolbar is configured using the <kendo-toolbar> component. By default, such tools are hidden.
|
|
416
|
+
*
|
|
417
|
+
* @default false
|
|
418
|
+
*/
|
|
419
|
+
showInactiveTools: boolean;
|
|
420
|
+
/**
|
|
421
|
+
* A function which determines if a specific row is expanded.
|
|
422
|
+
*/
|
|
423
|
+
set isDetailExpanded(callback: (args: RowArgs) => boolean);
|
|
424
|
+
get isDetailExpanded(): (args: RowArgs) => boolean;
|
|
425
|
+
/**
|
|
426
|
+
* A function which determines if a specific group row is expanded.
|
|
427
|
+
*/
|
|
428
|
+
set isGroupExpanded(callback: (args: GroupRowArgs) => boolean);
|
|
429
|
+
get isGroupExpanded(): (args: GroupRowArgs) => boolean;
|
|
394
430
|
/**
|
|
395
431
|
* Fires when the Grid filter is modified through the UI.
|
|
396
432
|
* You have to handle the event yourself and filter the data.
|
|
@@ -423,6 +459,10 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
423
459
|
* Fires when the data state of the Grid is changed.
|
|
424
460
|
*/
|
|
425
461
|
dataStateChange: EventEmitter<DataStateChangeEvent>;
|
|
462
|
+
/**
|
|
463
|
+
* Fires when the data or columns state of the Grid is changed.
|
|
464
|
+
*/
|
|
465
|
+
gridStateChange: EventEmitter<GridState>;
|
|
426
466
|
/**
|
|
427
467
|
* Fires when the user expands a group header.
|
|
428
468
|
*/
|
|
@@ -556,7 +596,17 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
556
596
|
dragTargetContainer: DragTargetContainerDirective;
|
|
557
597
|
dropTargetContainer: DropTargetContainerDirective;
|
|
558
598
|
dialogContainer: ViewContainerRef;
|
|
599
|
+
/**
|
|
600
|
+
* @hidden
|
|
601
|
+
*/
|
|
602
|
+
adaptiveRenderer: AdaptiveRendererComponent;
|
|
559
603
|
get scrollbarWidth(): number;
|
|
604
|
+
get showPagerInput(): boolean;
|
|
605
|
+
set showPagerInput(value: boolean);
|
|
606
|
+
get showPagerPageText(): boolean;
|
|
607
|
+
set showPagerPageText(value: boolean);
|
|
608
|
+
get showPagerItemsText(): boolean;
|
|
609
|
+
set showPagerItemsText(value: boolean);
|
|
560
610
|
get headerPadding(): any;
|
|
561
611
|
columnMenuOptions: any;
|
|
562
612
|
columnList: ColumnList;
|
|
@@ -571,6 +621,10 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
571
621
|
get ariaRowCount(): number;
|
|
572
622
|
get ariaColCount(): number;
|
|
573
623
|
get navigation(): NavigationService;
|
|
624
|
+
/**
|
|
625
|
+
* @hidden
|
|
626
|
+
*/
|
|
627
|
+
get flatData(): Array<any>;
|
|
574
628
|
private shouldGenerateColumns;
|
|
575
629
|
private direction;
|
|
576
630
|
private notifyTimeout;
|
|
@@ -596,6 +650,9 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
596
650
|
private _navigable;
|
|
597
651
|
private _size;
|
|
598
652
|
private _loading;
|
|
653
|
+
private _showPagerInput;
|
|
654
|
+
private _showPagerPageText;
|
|
655
|
+
private _showPagerItemsText;
|
|
599
656
|
get isVirtual(): boolean;
|
|
600
657
|
get isScrollable(): boolean;
|
|
601
658
|
get visibleColumns(): QueryList<ColumnBase>;
|
|
@@ -625,6 +682,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
625
682
|
* @hidden
|
|
626
683
|
*/
|
|
627
684
|
blockArrowSelection: boolean;
|
|
685
|
+
undoRedoService: UndoRedoService;
|
|
628
686
|
private selectionSubscription;
|
|
629
687
|
private stateChangeSubscription;
|
|
630
688
|
private groupExpandCollapseSubscription;
|
|
@@ -650,7 +708,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
650
708
|
private rowReorderSubscription;
|
|
651
709
|
private rtl;
|
|
652
710
|
private _rowSticky;
|
|
653
|
-
constructor(supportService: BrowserSupportService, selectionService: SelectionService, cellSelectionService: CellSelectionService, wrapper: ElementRef, groupInfoService: GroupInfoService, groupsService: GroupsService, changeNotification: ChangeNotificationService, detailsService: DetailsService, editService: EditService, filterService: FilterService, pdfService: PDFService, responsiveService: ResponsiveService, renderer: Renderer2, excelService: ExcelService, ngZone: NgZone, scrollSyncService: ScrollSyncService, domEvents: DomEventsService, columnResizingService: ColumnResizingService, changeDetectorRef: ChangeDetectorRef, columnReorderService: ColumnReorderService, columnInfoService: ColumnInfoService, navigationService: NavigationService, sortService: SortService, scrollRequestService: ScrollRequestService, localization: LocalizationService, ctx: ContextService, sizingService: SizingOptionsService, rowReorderService: RowReorderService);
|
|
711
|
+
constructor(supportService: BrowserSupportService, selectionService: SelectionService, cellSelectionService: CellSelectionService, wrapper: ElementRef, groupInfoService: GroupInfoService, groupsService: GroupsService, changeNotification: ChangeNotificationService, detailsService: DetailsService, editService: EditService, filterService: FilterService, pdfService: PDFService, responsiveService: ResponsiveService, renderer: Renderer2, excelService: ExcelService, ngZone: NgZone, scrollSyncService: ScrollSyncService, domEvents: DomEventsService, columnResizingService: ColumnResizingService, changeDetectorRef: ChangeDetectorRef, columnReorderService: ColumnReorderService, columnInfoService: ColumnInfoService, navigationService: NavigationService, sortService: SortService, scrollRequestService: ScrollRequestService, localization: LocalizationService, ctx: ContextService, sizingService: SizingOptionsService, adaptiveService: AdaptiveService, adaptiveGridService: AdaptiveGridService, rowReorderService: RowReorderService);
|
|
654
712
|
/**
|
|
655
713
|
* Expands the specified master row ([see example]({% slug hierarchy_grid %})).
|
|
656
714
|
*
|
|
@@ -738,6 +796,10 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
738
796
|
* @param options - Additional options configuring the focus target once the editor opens.
|
|
739
797
|
*/
|
|
740
798
|
editRow(rowIndex: number, group?: FormGroup, options?: EditRowOptions): void;
|
|
799
|
+
/**
|
|
800
|
+
* @hidden
|
|
801
|
+
*/
|
|
802
|
+
handleReorderEvents(ev: any, evType: string): void;
|
|
741
803
|
/**
|
|
742
804
|
* Closes the editor for a given row ([see example]({% slug inline_editing_grid %}#toc-canceling-editing-1)).
|
|
743
805
|
*
|
|
@@ -801,6 +863,11 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
801
863
|
* Initiates the Excel export ([see example]({% slug excelexport_grid %})).
|
|
802
864
|
*/
|
|
803
865
|
saveAsExcel(): void;
|
|
866
|
+
/**
|
|
867
|
+
* Applies the provided `GridState` object to the Grid.
|
|
868
|
+
*/
|
|
869
|
+
loadState(state: GridState): void;
|
|
870
|
+
private traverseColumns;
|
|
804
871
|
/**
|
|
805
872
|
* Applies the minimum possible width for the specified column,
|
|
806
873
|
* so that the whole text fits without wrapping. This method expects the Grid
|
|
@@ -821,6 +888,10 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
821
888
|
* @hidden
|
|
822
889
|
*/
|
|
823
890
|
notifyPageChange(source: string, event: any): void;
|
|
891
|
+
/**
|
|
892
|
+
* @hidden
|
|
893
|
+
*/
|
|
894
|
+
handlePagerVisibilityChange(prop: string, ev: any): void;
|
|
824
895
|
/**
|
|
825
896
|
* @hidden
|
|
826
897
|
*/
|
|
@@ -887,24 +958,6 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
887
958
|
*
|
|
888
959
|
*/
|
|
889
960
|
reorderColumn(source: ColumnBase, destIndex: number, options?: ColumnReorderConfig): void;
|
|
890
|
-
/**
|
|
891
|
-
* A function which determines if a specific row is expanded.
|
|
892
|
-
*/
|
|
893
|
-
set isDetailExpanded(callback: (args: RowArgs) => boolean);
|
|
894
|
-
get isDetailExpanded(): (args: RowArgs) => boolean;
|
|
895
|
-
/**
|
|
896
|
-
* A function which determines if a specific group row is expanded.
|
|
897
|
-
*/
|
|
898
|
-
set isGroupExpanded(callback: (args: GroupRowArgs) => boolean);
|
|
899
|
-
get isGroupExpanded(): (args: GroupRowArgs) => boolean;
|
|
900
|
-
/**
|
|
901
|
-
* @hidden
|
|
902
|
-
*/
|
|
903
|
-
handleReorderEvents(ev: any, evType: string): void;
|
|
904
|
-
/**
|
|
905
|
-
* @hidden
|
|
906
|
-
*/
|
|
907
|
-
get flatData(): Array<any>;
|
|
908
961
|
/**
|
|
909
962
|
* @hidden
|
|
910
963
|
*/
|
|
@@ -940,5 +993,5 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
940
993
|
private shouldResetSelection;
|
|
941
994
|
private notifyReorderContainers;
|
|
942
995
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent, never>;
|
|
943
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "kendo-grid", ["kendoGrid"], { "data": { "alias": "data"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "height": { "alias": "height"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "detailRowHeight": { "alias": "detailRowHeight"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "size": { "alias": "size"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "group": { "alias": "group"; "required": false; }; "virtualColumns": { "alias": "virtualColumns"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "groupable": { "alias": "groupable"; "required": false; }; "gridResizable": { "alias": "gridResizable"; "required": false; }; "rowReorderable": { "alias": "rowReorderable"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "
|
|
996
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "kendo-grid", ["kendoGrid"], { "data": { "alias": "data"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "height": { "alias": "height"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "detailRowHeight": { "alias": "detailRowHeight"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "size": { "alias": "size"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "group": { "alias": "group"; "required": false; }; "virtualColumns": { "alias": "virtualColumns"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "groupable": { "alias": "groupable"; "required": false; }; "gridResizable": { "alias": "gridResizable"; "required": false; }; "rowReorderable": { "alias": "rowReorderable"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "autoSize": { "alias": "autoSize"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "rowSticky": { "alias": "rowSticky"; "required": false; }; "rowSelected": { "alias": "rowSelected"; "required": false; }; "isRowSelectable": { "alias": "isRowSelectable"; "required": false; }; "cellSelected": { "alias": "cellSelected"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "reorderable": { "alias": "reorderable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "columnMenu": { "alias": "columnMenu"; "required": false; }; "hideHeader": { "alias": "hideHeader"; "required": false; }; "showInactiveTools": { "alias": "showInactiveTools"; "required": false; }; "isDetailExpanded": { "alias": "isDetailExpanded"; "required": false; }; "isGroupExpanded": { "alias": "isGroupExpanded"; "required": false; }; }, { "filterChange": "filterChange"; "pageChange": "pageChange"; "groupChange": "groupChange"; "sortChange": "sortChange"; "selectionChange": "selectionChange"; "rowReorder": "rowReorder"; "dataStateChange": "dataStateChange"; "gridStateChange": "gridStateChange"; "groupExpand": "groupExpand"; "groupCollapse": "groupCollapse"; "detailExpand": "detailExpand"; "detailCollapse": "detailCollapse"; "edit": "edit"; "cancel": "cancel"; "save": "save"; "remove": "remove"; "add": "add"; "cellClose": "cellClose"; "cellClick": "cellClick"; "pdfExport": "pdfExport"; "excelExport": "excelExport"; "columnResize": "columnResize"; "columnReorder": "columnReorder"; "columnVisibilityChange": "columnVisibilityChange"; "columnLockedChange": "columnLockedChange"; "columnStickyChange": "columnStickyChange"; "scrollBottom": "scrollBottom"; "contentScroll": "contentScroll"; }, ["columns", "detailTemplateChildren", "cellLoadingTemplateChildren", "loadingTemplateChildren", "statusBarTemplateChildren", "noRecordsTemplateChildren", "pagerTemplateChildren", "toolbarTemplateChildren", "columnMenuTemplates"], ["kendo-toolbar"], true, never>;
|
|
944
997
|
}
|