@progress/kendo-angular-grid 20.0.4-develop.2 → 20.1.0-develop.10
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-renderer.component.d.ts +2 -3
- package/column-menu/column-chooser-content.component.d.ts +60 -0
- package/column-menu/column-chooser.component.d.ts +15 -4
- package/column-menu/column-list-kb-nav.service.d.ts +2 -2
- package/column-menu/column-list.component.d.ts +28 -21
- package/column-menu/column-menu-chooser.component.d.ts +2 -7
- package/column-menu/column-menu.component.d.ts +0 -4
- package/columns/column-base.d.ts +8 -0
- package/columns/command-column.component.d.ts +1 -1
- package/columns/span-column.component.d.ts +1 -1
- package/directives.d.ts +1 -2
- package/editing/cancel-command.directive.d.ts +1 -1
- package/editing/edit-row-options.interface.d.ts +1 -1
- package/editing/edit-template.directive.d.ts +1 -1
- package/editing/remove-command.directive.d.ts +1 -1
- package/editing/save-command.directive.d.ts +1 -1
- package/editing-directives/edit-service.interface.d.ts +2 -2
- package/editing-directives/external-editing.directive.d.ts +1 -1
- package/editing-directives/in-cell-editing.directive.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/editing-directives/template-editing.directive.d.ts +1 -1
- package/esm2022/adaptiveness/adaptive-renderer.component.mjs +26 -46
- package/esm2022/column-menu/column-chooser-content.component.mjs +306 -0
- package/esm2022/column-menu/column-chooser.component.mjs +39 -31
- package/esm2022/column-menu/column-list-kb-nav.service.mjs +4 -4
- package/esm2022/column-menu/column-list.component.mjs +221 -176
- package/esm2022/column-menu/column-menu-chooser.component.mjs +17 -36
- package/esm2022/column-menu/column-menu-container.component.mjs +10 -1
- package/esm2022/column-menu/column-menu.component.mjs +19 -29
- package/esm2022/columns/column-base.mjs +8 -0
- package/esm2022/columns/command-column.component.mjs +1 -1
- package/esm2022/columns/span-column.component.mjs +1 -1
- package/esm2022/common/column-info.service.mjs +3 -0
- package/esm2022/directives.mjs +0 -2
- package/esm2022/editing/cancel-command.directive.mjs +1 -1
- package/esm2022/editing/edit-template.directive.mjs +1 -1
- package/esm2022/editing/remove-command.directive.mjs +1 -1
- package/esm2022/editing/save-command.directive.mjs +1 -1
- package/esm2022/editing-directives/external-editing.directive.mjs +1 -1
- package/esm2022/editing-directives/in-cell-editing.directive.mjs +1 -1
- package/esm2022/editing-directives/reactive-editing.directive.mjs +1 -1
- package/esm2022/editing-directives/template-editing.directive.mjs +1 -1
- package/esm2022/filtering/menu/filter-menu-input-wrapper.component.mjs +2 -2
- package/esm2022/filtering/menu/filter-menu.component.mjs +7 -1
- package/esm2022/grid.component.mjs +6 -0
- package/esm2022/grid.module.mjs +47 -48
- package/esm2022/localization/messages.mjs +12 -1
- package/esm2022/navigation/logical-cell.directive.mjs +8 -2
- package/esm2022/navigation/navigation.service.mjs +1 -0
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/rendering/list.component.mjs +23 -1
- package/esm2022/rendering/toolbar/tools/column-chooser-tool.directive.mjs +39 -13
- package/esm2022/rendering/toolbar/tools/filter-toolbar-tool.component.mjs +1 -1
- package/esm2022/rendering/toolbar/tools/group-toolbar-tool.component.mjs +2 -2
- package/esm2022/rendering/toolbar/tools/sort-toolbar-tool.component.mjs +1 -1
- package/fesm2022/progress-kendo-angular-grid.mjs +739 -391
- package/grid.module.d.ts +46 -47
- package/localization/messages.d.ts +10 -1
- package/navigation/navigation.service.d.ts +1 -0
- package/package.json +21 -21
- package/rendering/list.component.d.ts +1 -0
- package/rendering/toolbar/tools/column-chooser-tool.directive.d.ts +13 -1
- package/schematics/ngAdd/index.js +4 -4
- package/column-menu/column-chooser-item-checked.directive.d.ts +0 -21
- package/esm2022/column-menu/column-chooser-item-checked.directive.mjs +0 -45
|
@@ -9,7 +9,6 @@ import { FilterMenuContainerComponent } from '../filtering/menu/filter-menu-cont
|
|
|
9
9
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
10
|
import { FilterService } from '../filtering/filter.service';
|
|
11
11
|
import { ColumnMenuService } from '../column-menu/column-menu.service';
|
|
12
|
-
import { ColumnListComponent } from '../column-menu/column-list.component';
|
|
13
12
|
import { ContextService } from '../common/provider.service';
|
|
14
13
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
15
14
|
import { SortService } from '../common/sort.service';
|
|
@@ -18,6 +17,7 @@ import { ColumnInfoService } from '../common/column-info.service';
|
|
|
18
17
|
import { ColumnBase } from '../columns/column-base';
|
|
19
18
|
import { SortDescriptor } from '@progress/kendo-data-query';
|
|
20
19
|
import { GroupToolbarToolComponent } from '../rendering/toolbar/tools/group-toolbar-tool.component';
|
|
20
|
+
import { ColumnChooserContentComponent } from '../column-menu/column-chooser-content.component';
|
|
21
21
|
import * as i0 from "@angular/core";
|
|
22
22
|
/**
|
|
23
23
|
* @hidden
|
|
@@ -39,7 +39,6 @@ export declare class AdaptiveRendererComponent {
|
|
|
39
39
|
cancelIcon: SVGIcon;
|
|
40
40
|
saveIcon: SVGIcon;
|
|
41
41
|
columns: Array<ColumnBase>;
|
|
42
|
-
actionsClass: string;
|
|
43
42
|
externalEditingSettings: any;
|
|
44
43
|
get hasSort(): boolean;
|
|
45
44
|
get hasColumnChooser(): boolean;
|
|
@@ -58,7 +57,7 @@ export declare class AdaptiveRendererComponent {
|
|
|
58
57
|
get filterLabel(): string;
|
|
59
58
|
get hasXCloseIcon(): boolean;
|
|
60
59
|
get hasCheckCloseIcon(): boolean;
|
|
61
|
-
|
|
60
|
+
columnChooserContent: ColumnChooserContentComponent;
|
|
62
61
|
filterToolbarToolTemplate: ViewContainerRef;
|
|
63
62
|
filterMenuContainer: FilterMenuContainerComponent;
|
|
64
63
|
actionSheet: ActionSheetComponent;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { OnInit, ChangeDetectorRef, EventEmitter, ElementRef } from '@angular/core';
|
|
6
|
+
import { ColumnInfoService } from '../common/column-info.service';
|
|
7
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
8
|
+
import { ColumnListComponent } from './column-list.component';
|
|
9
|
+
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
10
|
+
import { ColumnMenuService } from './column-menu.service';
|
|
11
|
+
import { ContextService } from '../common/provider.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export declare class ColumnChooserContentComponent implements OnInit {
|
|
17
|
+
cdr: ChangeDetectorRef;
|
|
18
|
+
columnInfoService: ColumnInfoService;
|
|
19
|
+
ctx: ContextService;
|
|
20
|
+
resetButton: ElementRef;
|
|
21
|
+
private applyButton;
|
|
22
|
+
columnList: ColumnListComponent;
|
|
23
|
+
filterInput: TextBoxComponent;
|
|
24
|
+
filterable: boolean;
|
|
25
|
+
showSelectAll: boolean;
|
|
26
|
+
showCheckedCount: boolean;
|
|
27
|
+
allowHideAll: boolean;
|
|
28
|
+
autoSync: boolean;
|
|
29
|
+
actionsClass: string;
|
|
30
|
+
closeOnReset: boolean;
|
|
31
|
+
set columns(value: any[]);
|
|
32
|
+
get columns(): any[];
|
|
33
|
+
isLast: boolean;
|
|
34
|
+
isExpanded: boolean;
|
|
35
|
+
service: ColumnMenuService;
|
|
36
|
+
close: EventEmitter<undefined>;
|
|
37
|
+
get selectedItemsText(): string;
|
|
38
|
+
get actionSheetOpened(): boolean;
|
|
39
|
+
searchIcon: SVGIcon;
|
|
40
|
+
checkIcon: SVGIcon;
|
|
41
|
+
arrowRotateCcwIcon: SVGIcon;
|
|
42
|
+
applyText: string;
|
|
43
|
+
resetText: string;
|
|
44
|
+
filteredColumns: any[];
|
|
45
|
+
isFiltered: boolean;
|
|
46
|
+
private _columns;
|
|
47
|
+
constructor(cdr: ChangeDetectorRef, columnInfoService: ColumnInfoService, ctx: ContextService);
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
ngAfterViewInit(): void;
|
|
50
|
+
ngAfterViewChecked(): void;
|
|
51
|
+
onFilter(value: string): void;
|
|
52
|
+
messageFor: (token: string) => string;
|
|
53
|
+
onChange(changed: any[]): void;
|
|
54
|
+
applyChanges(): void;
|
|
55
|
+
cancelChanges(): void;
|
|
56
|
+
onTab(e: KeyboardEvent): void;
|
|
57
|
+
onApplyButtonKeydown(e: KeyboardEvent): void;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnChooserContentComponent, [null, { optional: true; }, { optional: true; }]>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnChooserContentComponent, "kendo-grid-column-chooser-content", never, { "filterable": { "alias": "filterable"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "showCheckedCount": { "alias": "showCheckedCount"; "required": false; }; "allowHideAll": { "alias": "allowHideAll"; "required": false; }; "autoSync": { "alias": "autoSync"; "required": false; }; "actionsClass": { "alias": "actionsClass"; "required": false; }; "closeOnReset": { "alias": "closeOnReset"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "service": { "alias": "service"; "required": false; }; }, { "close": "close"; }, never, never, true, never>;
|
|
60
|
+
}
|
|
@@ -37,6 +37,18 @@ export declare class ColumnChooserComponent implements OnDestroy {
|
|
|
37
37
|
* @default false
|
|
38
38
|
*/
|
|
39
39
|
autoSync: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Specifies if the column chooser displays a search box.
|
|
42
|
+
*
|
|
43
|
+
* @default true
|
|
44
|
+
*/
|
|
45
|
+
filterable: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Specifies if the column chooser displays a select all checkbox.
|
|
48
|
+
*
|
|
49
|
+
* @default true
|
|
50
|
+
*/
|
|
51
|
+
showSelectAll: boolean;
|
|
40
52
|
/**
|
|
41
53
|
* Specifies if all columns can be hidden.
|
|
42
54
|
*
|
|
@@ -64,13 +76,12 @@ export declare class ColumnChooserComponent implements OnDestroy {
|
|
|
64
76
|
/**
|
|
65
77
|
* @hidden
|
|
66
78
|
*/
|
|
67
|
-
|
|
79
|
+
onChange(changed: any[]): void;
|
|
68
80
|
/**
|
|
69
81
|
* @hidden
|
|
70
82
|
*/
|
|
71
|
-
|
|
72
|
-
private close;
|
|
83
|
+
close(focusAnchor?: boolean): void;
|
|
73
84
|
private detachClose;
|
|
74
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnChooserComponent, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnChooserComponent, "kendo-grid-column-chooser", never, { "autoSync": { "alias": "autoSync"; "required": false; }; "allowHideAll": { "alias": "allowHideAll"; "required": false; }; }, {}, never, never, true, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnChooserComponent, "kendo-grid-column-chooser", never, { "autoSync": { "alias": "autoSync"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "allowHideAll": { "alias": "allowHideAll"; "required": false; }; }, {}, never, never, true, never>;
|
|
76
87
|
}
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Renderer2 } from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { CheckBoxComponent } from '@progress/kendo-angular-inputs';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
11
|
export declare class ColumnListKeyboardNavigation {
|
|
12
12
|
private renderer;
|
|
13
|
-
items:
|
|
13
|
+
items: CheckBoxComponent[];
|
|
14
14
|
activeIndex: number;
|
|
15
15
|
constructor(renderer: Renderer2);
|
|
16
16
|
next(): void;
|
|
@@ -2,11 +2,13 @@
|
|
|
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 { ElementRef, NgZone, Renderer2, EventEmitter, OnInit, OnDestroy, SimpleChanges } from '@angular/core';
|
|
5
|
+
import { ElementRef, NgZone, Renderer2, EventEmitter, OnInit, OnDestroy, SimpleChanges, QueryList, ChangeDetectorRef } from '@angular/core';
|
|
6
6
|
import { ColumnMenuService } from './column-menu.service';
|
|
7
7
|
import { ColumnListKeyboardNavigation } from './column-list-kb-nav.service';
|
|
8
|
+
import { CheckBoxComponent, TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
8
9
|
import { ContextService } from '../common/provider.service';
|
|
9
10
|
import { AdaptiveGridService } from '../common/adaptiveness.service';
|
|
11
|
+
import { ColumnInfoService } from '../common/column-info.service';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
/**
|
|
12
14
|
* @hidden
|
|
@@ -15,11 +17,11 @@ export declare class ColumnListComponent implements OnInit, OnDestroy {
|
|
|
15
17
|
private element;
|
|
16
18
|
private ngZone;
|
|
17
19
|
private renderer;
|
|
18
|
-
|
|
20
|
+
listNavigationService: ColumnListKeyboardNavigation;
|
|
21
|
+
private cdr;
|
|
22
|
+
columnInfoService: ColumnInfoService;
|
|
19
23
|
private adaptiveGridService;
|
|
20
24
|
private ctx;
|
|
21
|
-
checkIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
|
22
|
-
arrowRotateCcwIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
|
23
25
|
className: boolean;
|
|
24
26
|
get listSizeMd(): boolean;
|
|
25
27
|
get listSizeLg(): boolean;
|
|
@@ -28,42 +30,47 @@ export declare class ColumnListComponent implements OnInit, OnDestroy {
|
|
|
28
30
|
columnChange: EventEmitter<any>;
|
|
29
31
|
set columns(value: any[]);
|
|
30
32
|
get columns(): any[];
|
|
31
|
-
|
|
33
|
+
get checkedCheckboxesLength(): number;
|
|
34
|
+
filteredColumns: any[];
|
|
32
35
|
autoSync: boolean;
|
|
36
|
+
showSelectAll: boolean;
|
|
37
|
+
isFiltered: boolean;
|
|
33
38
|
ariaLabel: string;
|
|
34
39
|
allowHideAll: boolean;
|
|
35
40
|
applyText: string;
|
|
36
41
|
resetText: string;
|
|
37
|
-
actionsClass: string;
|
|
38
42
|
isLast: boolean;
|
|
39
43
|
isExpanded: boolean;
|
|
40
44
|
service: ColumnMenuService;
|
|
45
|
+
filterable: boolean;
|
|
46
|
+
checkboxes: QueryList<CheckBoxComponent>;
|
|
47
|
+
get columnCheckboxes(): CheckBoxComponent[];
|
|
48
|
+
get lockedColumnCheckboxes(): CheckBoxComponent[];
|
|
49
|
+
get unlockedColumnCheckboxes(): CheckBoxComponent[];
|
|
50
|
+
get checkedCheckboxes(): number;
|
|
41
51
|
resetButton: ElementRef;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
private checkboxes;
|
|
45
|
-
private hasLocked;
|
|
46
|
-
private hasVisibleLocked;
|
|
47
|
-
private unlockedCount;
|
|
48
|
-
private hasUnlockedFiltered;
|
|
49
|
-
private hasFiltered;
|
|
52
|
+
applyButton: ElementRef;
|
|
53
|
+
filterInput: TextBoxComponent;
|
|
50
54
|
private _columns;
|
|
51
|
-
private allColumns;
|
|
52
55
|
private domSubscriptions;
|
|
53
|
-
|
|
56
|
+
private lastDisabledCheckbox;
|
|
57
|
+
constructor(element: ElementRef, ngZone: NgZone, renderer: Renderer2, listNavigationService: ColumnListKeyboardNavigation, cdr: ChangeDetectorRef, columnInfoService: ColumnInfoService, adaptiveGridService: AdaptiveGridService, ctx: ContextService);
|
|
54
58
|
ngOnInit(): void;
|
|
55
59
|
ngAfterViewInit(): void;
|
|
56
60
|
ngOnChanges(changes: SimpleChanges): void;
|
|
61
|
+
onSelectAllCheckboxChange(checkedState: any): void;
|
|
57
62
|
ngOnDestroy(): void;
|
|
58
|
-
isDisabled(column: any): boolean;
|
|
59
63
|
cancelChanges(): void;
|
|
60
64
|
applyChanges(): void;
|
|
65
|
+
focusActiveColumn(e: Event): void;
|
|
61
66
|
onTab(e: Event): void;
|
|
62
67
|
onKeydown: (e: KeyboardEvent) => void;
|
|
63
68
|
private updateDisabled;
|
|
64
|
-
private
|
|
69
|
+
private disableFirstUnlockedCheckedCheckbox;
|
|
70
|
+
private enableLastDisabledColumn;
|
|
65
71
|
private setDisabledState;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
static
|
|
72
|
+
onCheckboxChange(checkedState: any, column: any, _index: number): void;
|
|
73
|
+
private setTabindex;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnListComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
75
|
+
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>;
|
|
69
76
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
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 { EventEmitter,
|
|
5
|
+
import { EventEmitter, ElementRef } from '@angular/core';
|
|
6
6
|
import { ColumnInfoService } from '../common/column-info.service';
|
|
7
7
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
8
8
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
@@ -35,7 +35,6 @@ import * as i0 from "@angular/core";
|
|
|
35
35
|
export declare class ColumnMenuChooserComponent extends ColumnMenuItemBase {
|
|
36
36
|
ctx: ContextService;
|
|
37
37
|
private columnInfoService;
|
|
38
|
-
private changeDetector;
|
|
39
38
|
private hostElement;
|
|
40
39
|
/**
|
|
41
40
|
* Fires when the content expands.
|
|
@@ -60,11 +59,7 @@ export declare class ColumnMenuChooserComponent extends ColumnMenuItemBase {
|
|
|
60
59
|
actionsClass: string;
|
|
61
60
|
get columns(): any;
|
|
62
61
|
columnsIcon: SVGIcon;
|
|
63
|
-
constructor(ctx: ContextService, columnInfoService: ColumnInfoService,
|
|
64
|
-
/**
|
|
65
|
-
* @hidden
|
|
66
|
-
*/
|
|
67
|
-
onApply(changed: any[]): void;
|
|
62
|
+
constructor(ctx: ContextService, columnInfoService: ColumnInfoService, hostElement: ElementRef);
|
|
68
63
|
/**
|
|
69
64
|
* @hidden
|
|
70
65
|
*/
|
package/columns/column-base.d.ts
CHANGED
|
@@ -40,6 +40,14 @@ export declare class ColumnBase implements AfterViewInit {
|
|
|
40
40
|
* @hidden
|
|
41
41
|
*/
|
|
42
42
|
initialMinResizableWidth: number;
|
|
43
|
+
/**
|
|
44
|
+
* @hidden
|
|
45
|
+
*/
|
|
46
|
+
initiallyChecked: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* @hidden
|
|
49
|
+
*/
|
|
50
|
+
currentlyChecked: boolean;
|
|
43
51
|
/**
|
|
44
52
|
* @hidden
|
|
45
53
|
*/
|
|
@@ -10,7 +10,7 @@ import { CellRowspanFn } from './cell-rowspan';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
12
|
* Represents the command columns of the Grid. Define the content of the column inside an `<ng-template>` tag.
|
|
13
|
-
* For more information and examples, see the [
|
|
13
|
+
* For more information and examples, see the [Editing Action Buttons](slug:basics_editing_grid#editing-action-buttons) article.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* ```html
|
|
@@ -74,7 +74,7 @@ export declare class SpanColumnComponent extends ColumnBase {
|
|
|
74
74
|
includeInChooser: boolean;
|
|
75
75
|
/**
|
|
76
76
|
* Sets whether the edit template of the column is rendered.
|
|
77
|
-
* To enable editing for a spanned column, set an edit template for it ([see example](slug:
|
|
77
|
+
* To enable editing for a spanned column, set an edit template for it ([see example](slug:custom_editors_grid#setting-up-custom-editors)).
|
|
78
78
|
* @default false
|
|
79
79
|
*/
|
|
80
80
|
set editable(value: boolean);
|
package/directives.d.ts
CHANGED
|
@@ -66,7 +66,6 @@ import { FilterCellComponent } from "./filtering/cell/filter-cell.component";
|
|
|
66
66
|
import { NumericFilterCellComponent } from "./filtering/cell/numeric-filter-cell.component";
|
|
67
67
|
import { StringFilterCellComponent } from "./filtering/cell/string-filter-cell.component";
|
|
68
68
|
import { FilterRowComponent } from "./filtering/filter-row.component";
|
|
69
|
-
import { ColumnMenuChooserItemCheckedDirective } from "./column-menu/column-chooser-item-checked.directive";
|
|
70
69
|
import { ColumnChooserComponent } from "./column-menu/column-chooser.component";
|
|
71
70
|
import { ColumnChooserToolbarDirective } from "./rendering/toolbar/tools/column-chooser-tool.directive";
|
|
72
71
|
import { ColumnListComponent } from "./column-menu/column-list.component";
|
|
@@ -211,7 +210,7 @@ export declare const KENDO_GRID_FILTER_ROW: readonly [typeof FilterRowComponent,
|
|
|
211
210
|
*
|
|
212
211
|
* Utility array that contains the former ColumnMenu module declarations
|
|
213
212
|
*/
|
|
214
|
-
export declare const KENDO_GRID_COLUMN_MENU_DECLARATIONS: readonly [typeof
|
|
213
|
+
export declare const KENDO_GRID_COLUMN_MENU_DECLARATIONS: readonly [typeof ColumnListComponent, typeof ColumnChooserComponent, typeof ColumnChooserToolbarDirective, typeof ColumnMenuChooserComponent, typeof ColumnMenuFilterComponent, typeof ColumnMenuItemComponent, typeof ColumnMenuItemContentTemplateDirective, typeof ColumnMenuSortComponent, typeof ColumnMenuComponent, typeof ColumnMenuLockComponent, typeof ColumnMenuTemplateDirective, typeof ColumnMenuContainerComponent, typeof ColumnMenuItemDirective, typeof ColumnMenuStickComponent, typeof ColumnMenuPositionComponent, typeof ColumnMenuAutoSizeColumnComponent, typeof ColumnMenuAutoSizeAllColumnsComponent];
|
|
215
214
|
/**
|
|
216
215
|
* @hidden
|
|
217
216
|
*
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
/**
|
|
12
12
|
* Represents the `cancel` command of the Grid. Apply this directive to any `button`
|
|
13
13
|
* element inside a [CommandColumnComponent]({% slug api_grid_commandcolumncomponent %})
|
|
14
|
-
* ([see example](slug:
|
|
14
|
+
* ([see example](slug:basics_editing_grid#editing-action-buttons)).
|
|
15
15
|
*
|
|
16
16
|
* When a button with this directive is clicked, the
|
|
17
17
|
* [`cancel`]({% slug api_grid_gridcomponent %}#toc-cancel) event
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* Provides additional options for the [`editRow`]({% slug api_grid_gridcomponent %}#toc-editrow) method. [See example](
|
|
6
|
+
* Provides additional options for the [`editRow`]({% slug api_grid_gridcomponent %}#toc-editrow) method. [See example](slug:inline_editing_grid#managing-focus).
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```typescript
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
* Lets you customize the content of edited cells by providing a column edit-cell template for the Grid ([see example](slug:
|
|
8
|
+
* Lets you customize the content of edited cells by providing a column edit-cell template for the Grid ([see example](slug:custom_editors_grid#setting-up-custom-editors)).
|
|
9
9
|
* Place an `<ng-template>` tag with the `kendoGridEditTemplate` directive inside a `<kendo-grid-column>` tag to define the template.
|
|
10
10
|
*
|
|
11
11
|
* The template context includes:
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
/**
|
|
12
12
|
* Represents the `remove` command of the Grid. Apply this directive to any `button` element
|
|
13
13
|
* inside a [CommandColumnComponent]({% slug api_grid_commandcolumncomponent %})
|
|
14
|
-
* ([see example](slug:
|
|
14
|
+
* ([see example](slug:basics_editing_grid#editing-action-buttons)).
|
|
15
15
|
* When you click the button with this directive, the
|
|
16
16
|
* [`remove`]({% slug api_grid_gridcomponent %}#toc-remove) event fires.
|
|
17
17
|
* The button with `kendoGridRemoveCommand` is automatically hidden when the row is in edit mode.
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
/**
|
|
12
12
|
* Represents the `save` command of the Grid. Apply this directive to any `button`
|
|
13
13
|
* element inside a [CommandColumnComponent]({% slug api_grid_commandcolumncomponent %})
|
|
14
|
-
* ([see example](slug:
|
|
14
|
+
* ([see example](slug:basics_editing_grid#editing-action-buttons)).
|
|
15
15
|
* When you click the button with this directive, the
|
|
16
16
|
* [`save`]({% slug api_grid_gridcomponent %}#toc-save) event fires.
|
|
17
17
|
* The button with `kendoGridSaveCommand` is automatically hidden when the row is not in edit mode.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* The interface which must be extended when creating custom edit service.
|
|
7
7
|
* This interface defines the methods that a custom editing service should implement to handle create, update, and remove operations on grid items.
|
|
8
|
-
* Set the custom edit service to the `editService` input of the respective editing directive
|
|
9
|
-
* [See
|
|
8
|
+
* Set the custom edit service to the `editService` input of the respective editing directive
|
|
9
|
+
* [See example](slug:custom_editing_service_grid).
|
|
10
10
|
*/
|
|
11
11
|
export interface EditService {
|
|
12
12
|
/**
|
|
@@ -13,7 +13,7 @@ import { AdaptiveGridService } from '../common/adaptiveness.service';
|
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
/**
|
|
15
15
|
* Represents the Kendo UI Grid external editing directive. The directive manages editing operations in the Grid when using the
|
|
16
|
-
* External Form ([see example](slug:
|
|
16
|
+
* External Form ([see example](slug:external_editing_grid#quick-setup)).
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ```typescript
|
|
@@ -9,7 +9,7 @@ import { LocalDataChangesService } from '../editing/local-data-changes.service';
|
|
|
9
9
|
import { CreateFormGroup } from '../common/create-form-group';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
* Represent the directive that manages in-cell editing operations in the Grid when using Reactive Forms ([see example](
|
|
12
|
+
* Represent the directive that manages in-cell editing operations in the Grid when using Reactive Forms ([see example](slug:editing_incell_grid#quick-setup)).
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* ```html
|
|
@@ -8,7 +8,7 @@ import { LocalDataChangesService } from '../editing/local-data-changes.service';
|
|
|
8
8
|
import { CreateFormGroup } from '../common/create-form-group';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
* Represents the directive that manages editing operations in the Grid when using Reactive Forms ([see example](slug:
|
|
11
|
+
* Represents the directive that manages editing operations in the Grid when using Reactive Forms ([see example](slug:inline_editing_grid#using-reactive-forms)).
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```html
|
|
@@ -7,7 +7,7 @@ import { GridComponent } from '../grid.component';
|
|
|
7
7
|
import { LocalDataChangesService } from '../editing/local-data-changes.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
|
-
* Represents the directive that manages editing operations in the Grid when using Template-Driven Angular Forms ([see example](
|
|
10
|
+
* Represents the directive that manages editing operations in the Grid when using Template-Driven Angular Forms ([see example](slug:inline_editing_grid#using-template-driven-forms)).
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```html
|