@progress/kendo-angular-grid 19.0.0-develop.2 → 19.0.0-develop.20
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 +84 -0
- package/column-menu/column-chooser.component.d.ts +4 -0
- package/column-menu/column-list.component.d.ts +9 -3
- package/column-menu/column-menu-item.component.d.ts +38 -2
- 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 +12 -5
- package/dragdrop/drag-hint.service.d.ts +3 -2
- 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/external-editing.directive.d.ts +3 -1
- package/esm2022/adaptiveness/adaptive-mode.mjs +5 -0
- package/esm2022/adaptiveness/adaptive-renderer.component.mjs +1106 -0
- package/esm2022/column-menu/column-chooser.component.mjs +13 -11
- package/esm2022/column-menu/column-list.component.mjs +43 -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 +106 -11
- 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 +18 -3
- package/esm2022/dragdrop/drag-hint.service.mjs +7 -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/form/form-formfield.component.mjs +1 -1
- 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 +89 -0
- package/esm2022/editing-directives/external-editing.directive.mjs +28 -14
- package/esm2022/excel/excel-command-tool.directive.mjs +12 -17
- package/esm2022/filtering/cell/autocomplete-filter-cell.component.mjs +1 -1
- package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +1 -1
- package/esm2022/filtering/cell/date-filter-cell.component.mjs +1 -1
- package/esm2022/filtering/cell/filter-cell-operators.component.mjs +1 -1
- package/esm2022/filtering/filter-input.directive.mjs +14 -2
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +2 -2
- package/esm2022/filtering/menu/date-filter-menu-input.component.mjs +3 -1
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +5 -1
- package/esm2022/filtering/menu/filter-menu-container.component.mjs +21 -10
- package/esm2022/filtering/menu/filter-menu-input-wrapper.component.mjs +25 -5
- package/esm2022/filtering/menu/filter-menu.component.mjs +44 -29
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +5 -1
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +5 -1
- package/esm2022/grid.component.mjs +291 -55
- package/esm2022/grid.module.mjs +114 -101
- package/esm2022/index.mjs +10 -1
- package/esm2022/localization/messages.mjs +104 -2
- package/esm2022/navigation/navigation.service.mjs +1 -1
- 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 +4 -4
- package/esm2022/rendering/header/header.component.mjs +1 -1
- package/esm2022/rendering/list.component.mjs +1 -1
- package/esm2022/rendering/table-body.component.mjs +11 -3
- package/esm2022/rendering/toolbar/tools/column-chooser-tool.directive.mjs +201 -0
- package/esm2022/rendering/toolbar/tools/filter-command-tool.directive.mjs +49 -33
- package/esm2022/rendering/toolbar/tools/filter-tool-wrapper.component.mjs +28 -8
- package/esm2022/rendering/toolbar/tools/filter-toolbar-tool.component.mjs +26 -4
- package/esm2022/rendering/toolbar/tools/sort-command-tool.directive.mjs +33 -17
- package/esm2022/rendering/toolbar/tools/sort-toolbar-tool.component.mjs +24 -8
- package/esm2022/row-reordering/row-reorder.service.mjs +15 -0
- 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 +4066 -1351
- 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 +14 -4
- package/filtering/menu/filter-menu-input-wrapper.component.d.ts +8 -3
- package/filtering/menu/filter-menu.component.d.ts +6 -3
- package/grid.component.d.ts +71 -21
- package/grid.module.d.ts +107 -100
- package/index.d.ts +9 -1
- package/localization/messages.d.ts +70 -2
- package/navigation/toolbar-tool-name.d.ts +17 -0
- package/package.json +21 -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 +17 -6
- package/rendering/toolbar/tools/filter-command-tool.directive.d.ts +4 -1
- package/rendering/toolbar/tools/filter-tool-wrapper.component.d.ts +6 -5
- package/rendering/toolbar/tools/filter-toolbar-tool.component.d.ts +4 -1
- package/rendering/toolbar/tools/sort-command-tool.directive.d.ts +4 -1
- package/rendering/toolbar/tools/sort-toolbar-tool.component.d.ts +5 -1
- package/row-reordering/row-reorder.service.d.ts +2 -0
- 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;
|
|
@@ -64,6 +74,6 @@ export declare class FilterMenuContainerComponent implements OnInit, OnDestroy {
|
|
|
64
74
|
onTab(e: Event, buttonType: string): void;
|
|
65
75
|
get clearText(): string;
|
|
66
76
|
get filterText(): string;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterMenuContainerComponent, [{ skipSelf: true; }, null, null, null, null]>;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterMenuContainerComponent, [{ skipSelf: true; }, null, null, null, null, null]>;
|
|
68
78
|
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
79
|
}
|
|
@@ -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
|
*/
|
|
@@ -358,6 +383,11 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
358
383
|
* @hidden
|
|
359
384
|
*/
|
|
360
385
|
get selection(): GridSelectionItem[];
|
|
386
|
+
/**
|
|
387
|
+
* The current Grid `GridState` objects. Contains the information about data operations and column state, required
|
|
388
|
+
* to store and restore the Grid state.
|
|
389
|
+
*/
|
|
390
|
+
get currentState(): GridState;
|
|
361
391
|
/**
|
|
362
392
|
* If set to `true`, the user can resize columns by dragging the edges (resize handles) of their header cells
|
|
363
393
|
* ([see example]({% slug resizing_columns_grid %})).
|
|
@@ -391,6 +421,22 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
391
421
|
* @default false
|
|
392
422
|
*/
|
|
393
423
|
hideHeader: boolean;
|
|
424
|
+
/**
|
|
425
|
+
* 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.
|
|
426
|
+
*
|
|
427
|
+
* @default false
|
|
428
|
+
*/
|
|
429
|
+
showInactiveTools: boolean;
|
|
430
|
+
/**
|
|
431
|
+
* A function which determines if a specific row is expanded.
|
|
432
|
+
*/
|
|
433
|
+
set isDetailExpanded(callback: (args: RowArgs) => boolean);
|
|
434
|
+
get isDetailExpanded(): (args: RowArgs) => boolean;
|
|
435
|
+
/**
|
|
436
|
+
* A function which determines if a specific group row is expanded.
|
|
437
|
+
*/
|
|
438
|
+
set isGroupExpanded(callback: (args: GroupRowArgs) => boolean);
|
|
439
|
+
get isGroupExpanded(): (args: GroupRowArgs) => boolean;
|
|
394
440
|
/**
|
|
395
441
|
* Fires when the Grid filter is modified through the UI.
|
|
396
442
|
* You have to handle the event yourself and filter the data.
|
|
@@ -423,6 +469,10 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
423
469
|
* Fires when the data state of the Grid is changed.
|
|
424
470
|
*/
|
|
425
471
|
dataStateChange: EventEmitter<DataStateChangeEvent>;
|
|
472
|
+
/**
|
|
473
|
+
* Fires when the data or columns state of the Grid is changed.
|
|
474
|
+
*/
|
|
475
|
+
gridStateChange: EventEmitter<GridState>;
|
|
426
476
|
/**
|
|
427
477
|
* Fires when the user expands a group header.
|
|
428
478
|
*/
|
|
@@ -556,6 +606,10 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
556
606
|
dragTargetContainer: DragTargetContainerDirective;
|
|
557
607
|
dropTargetContainer: DropTargetContainerDirective;
|
|
558
608
|
dialogContainer: ViewContainerRef;
|
|
609
|
+
/**
|
|
610
|
+
* @hidden
|
|
611
|
+
*/
|
|
612
|
+
adaptiveRenderer: AdaptiveRendererComponent;
|
|
559
613
|
get scrollbarWidth(): number;
|
|
560
614
|
get headerPadding(): any;
|
|
561
615
|
columnMenuOptions: any;
|
|
@@ -571,6 +625,10 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
571
625
|
get ariaRowCount(): number;
|
|
572
626
|
get ariaColCount(): number;
|
|
573
627
|
get navigation(): NavigationService;
|
|
628
|
+
/**
|
|
629
|
+
* @hidden
|
|
630
|
+
*/
|
|
631
|
+
get flatData(): Array<any>;
|
|
574
632
|
private shouldGenerateColumns;
|
|
575
633
|
private direction;
|
|
576
634
|
private notifyTimeout;
|
|
@@ -625,6 +683,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
625
683
|
* @hidden
|
|
626
684
|
*/
|
|
627
685
|
blockArrowSelection: boolean;
|
|
686
|
+
undoRedoService: UndoRedoService;
|
|
628
687
|
private selectionSubscription;
|
|
629
688
|
private stateChangeSubscription;
|
|
630
689
|
private groupExpandCollapseSubscription;
|
|
@@ -650,7 +709,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
650
709
|
private rowReorderSubscription;
|
|
651
710
|
private rtl;
|
|
652
711
|
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);
|
|
712
|
+
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
713
|
/**
|
|
655
714
|
* Expands the specified master row ([see example]({% slug hierarchy_grid %})).
|
|
656
715
|
*
|
|
@@ -738,6 +797,10 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
738
797
|
* @param options - Additional options configuring the focus target once the editor opens.
|
|
739
798
|
*/
|
|
740
799
|
editRow(rowIndex: number, group?: FormGroup, options?: EditRowOptions): void;
|
|
800
|
+
/**
|
|
801
|
+
* @hidden
|
|
802
|
+
*/
|
|
803
|
+
handleReorderEvents(ev: any, evType: string): void;
|
|
741
804
|
/**
|
|
742
805
|
* Closes the editor for a given row ([see example]({% slug inline_editing_grid %}#toc-canceling-editing-1)).
|
|
743
806
|
*
|
|
@@ -801,6 +864,11 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
801
864
|
* Initiates the Excel export ([see example]({% slug excelexport_grid %})).
|
|
802
865
|
*/
|
|
803
866
|
saveAsExcel(): void;
|
|
867
|
+
/**
|
|
868
|
+
* Applies the provided `GridState` object to the Grid.
|
|
869
|
+
*/
|
|
870
|
+
loadState(state: GridState): void;
|
|
871
|
+
private traverseColumns;
|
|
804
872
|
/**
|
|
805
873
|
* Applies the minimum possible width for the specified column,
|
|
806
874
|
* so that the whole text fits without wrapping. This method expects the Grid
|
|
@@ -887,24 +955,6 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
887
955
|
*
|
|
888
956
|
*/
|
|
889
957
|
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
958
|
/**
|
|
909
959
|
* @hidden
|
|
910
960
|
*/
|
|
@@ -940,5 +990,5 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
940
990
|
private shouldResetSelection;
|
|
941
991
|
private notifyReorderContainers;
|
|
942
992
|
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; }; "navigatable": { "alias": "navigatable"; "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; }; "isDetailExpanded": { "alias": "isDetailExpanded"; "required": false; }; "isGroupExpanded": { "alias": "isGroupExpanded"; "required": false; }; }, { "filterChange": "filterChange"; "pageChange": "pageChange"; "groupChange": "groupChange"; "sortChange": "sortChange"; "selectionChange": "selectionChange"; "rowReorder": "rowReorder"; "dataStateChange": "dataStateChange"; "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>;
|
|
993
|
+
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; }; "navigatable": { "alias": "navigatable"; "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
994
|
}
|