@progress/kendo-angular-grid 22.1.0-develop.9 → 23.0.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/README.md +2 -2
- package/adaptiveness/adaptive-renderer.component.d.ts +1 -0
- package/aggregates/aggregate-types.d.ts +1 -1
- package/aggregates/status-bar-template.directive.d.ts +1 -1
- package/column-menu/column-chooser.component.d.ts +3 -3
- package/column-menu/column-menu-autosize-all.component.d.ts +4 -4
- package/column-menu/column-menu-autosize.component.d.ts +3 -3
- package/column-menu/column-menu-chooser.component.d.ts +4 -4
- package/column-menu/column-menu-expandable-item.interface.d.ts +1 -1
- package/column-menu/column-menu-filter.component.d.ts +3 -3
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/column-menu/column-menu-item-content-template.directive.d.ts +1 -1
- package/column-menu/column-menu-item.component.d.ts +2 -2
- package/column-menu/column-menu-item.directive.d.ts +1 -1
- package/column-menu/column-menu-lock.component.d.ts +3 -3
- package/column-menu/column-menu-position.component.d.ts +2 -2
- package/column-menu/column-menu-settings.interface.d.ts +4 -4
- package/column-menu/column-menu-sort.component.d.ts +1 -1
- package/column-menu/column-menu-stick.component.d.ts +4 -4
- package/column-menu/column-menu-template.directive.d.ts +1 -1
- package/column-menu/column-menu.component.d.ts +3 -3
- package/column-menu/column-menu.service.d.ts +1 -1
- package/column-resizing/column-resize.interface.d.ts +1 -1
- package/columns/checkbox-column.component.d.ts +1 -1
- package/columns/column-base.d.ts +24 -17
- package/columns/column-group.component.d.ts +1 -1
- package/columns/column.component.d.ts +6 -6
- package/columns/command-column.component.d.ts +1 -1
- package/columns/reorder-column.component.d.ts +1 -1
- package/columns/sort-settings.d.ts +6 -6
- package/columns/span-column.component.d.ts +5 -5
- package/common/cell-click-event-args.interface.d.ts +1 -1
- package/common/clipboard-types.d.ts +1 -1
- package/common/clipboard.directive.d.ts +1 -1
- package/common/column-info.service.d.ts +1 -1
- package/common/fetch-data-callback.d.ts +1 -1
- package/common/pager-settings.d.ts +2 -2
- package/common/provider.service.d.ts +2 -0
- package/common/single-popup.service.d.ts +1 -1
- package/common/size-options.d.ts +1 -1
- package/csv/csv-command-tool.directive.d.ts +38 -0
- package/csv/csv-command.directive.d.ts +38 -0
- package/csv/csv-export-event.d.ts +15 -0
- package/csv/csv.component.d.ts +131 -0
- package/csv/csv.module.d.ts +32 -0
- package/csv/csv.service.d.ts +16 -0
- package/data/change-event-args.interface.d.ts +2 -2
- package/data/data.collection.d.ts +1 -1
- package/data/grid-item.interface.d.ts +4 -4
- package/databinding.directive.d.ts +13 -4
- package/directives.d.ts +15 -3
- package/dragdrop/column-reorder-config.d.ts +1 -1
- package/editing/add-command-tool.directive.d.ts +1 -1
- package/editing/add-command.directive.d.ts +3 -3
- package/editing/add-event-args.interface.d.ts +1 -1
- package/editing/cancel-command-tool.directive.d.ts +1 -1
- package/editing/cancel-command.directive.d.ts +3 -3
- package/editing/cancel-event-args.interface.d.ts +2 -2
- package/editing/cell-close-event.d.ts +1 -1
- package/editing/edit-command-tool.directive.d.ts +1 -1
- package/editing/edit-command.directive.d.ts +3 -3
- package/editing/edit-event-args.interface.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/form/models.d.ts +1 -1
- package/editing/remove-command-tool.directive.d.ts +1 -1
- package/editing/remove-command.directive.d.ts +3 -3
- package/editing/remove-event-args.interface.d.ts +1 -1
- package/editing/save-command-tool.directive.d.ts +1 -1
- package/editing/save-command.directive.d.ts +3 -3
- package/editing/save-event-args.interface.d.ts +1 -1
- package/editing-directives/edit-service.interface.d.ts +1 -1
- 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/excel/excel-command-tool.directive.d.ts +1 -1
- package/excel/excel-command.directive.d.ts +2 -2
- package/excel/excel.component.d.ts +5 -5
- package/fesm2022/progress-kendo-angular-grid.mjs +3304 -435
- package/filtering/base-filter-cell.component.d.ts +1 -1
- package/filtering/cell/boolean-filter-cell.component.d.ts +1 -1
- package/filtering/cell/date-filter-cell.component.d.ts +2 -2
- package/filtering/cell/filter-cell-template.directive.d.ts +2 -2
- package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
- package/filtering/cell/string-filter-cell.component.d.ts +1 -1
- package/filtering/date-filter.component.d.ts +2 -2
- package/filtering/filter-row.component.d.ts +1 -1
- package/filtering/filter.service.d.ts +1 -1
- package/filtering/filterable.d.ts +2 -2
- package/filtering/menu/boolean-filter-menu.component.d.ts +1 -1
- package/filtering/menu/filter-menu-container.component.d.ts +5 -1
- package/filtering/menu/filter-menu-template.directive.d.ts +1 -1
- package/filtering/menu/string-filter-menu.component.d.ts +1 -1
- package/filtering/operators/after-eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/after-filter-operator.component.d.ts +2 -2
- package/filtering/operators/before-eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/before-filter-operator.component.d.ts +2 -2
- package/filtering/operators/contains-filter-operator.component.d.ts +2 -2
- package/filtering/operators/ends-with-filter-operator.component.d.ts +2 -2
- package/filtering/operators/eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/gt-filter-operator.component.d.ts +2 -2
- package/filtering/operators/gte-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-empty-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +2 -2
- package/filtering/operators/isnull-filter-operator.component.d.ts +2 -2
- package/filtering/operators/lt-filter-operator.component.d.ts +2 -2
- package/filtering/operators/lte-filter-operator.component.d.ts +2 -2
- package/filtering/operators/neq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/not-contains-filter-operator.component.d.ts +2 -2
- package/filtering/operators/starts-with-filter-operator.component.d.ts +2 -2
- package/grid.component.d.ts +80 -62
- package/grid.module.d.ts +100 -97
- package/grouping/group-header-column-template.directive.d.ts +1 -1
- package/grouping/group-header-template.directive.d.ts +1 -1
- package/grouping/group-key.interface.d.ts +3 -3
- package/grouping/group-rows-args.interface.d.ts +1 -1
- package/highlight/highlight.directive.d.ts +8 -2
- package/index.d.ts +10 -0
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/messages.d.ts +70 -10
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/navigable-settings.d.ts +3 -3
- package/navigation/toolbar-tool-name.d.ts +1 -0
- package/package-metadata.mjs +2 -2
- package/package.json +28 -27
- package/pdf/pdf-command-tool.directive.d.ts +1 -1
- package/pdf/pdf-command.directive.d.ts +2 -2
- package/pdf/pdf.component.d.ts +2 -2
- package/rendering/cell-loading.template.directive.d.ts +1 -1
- package/rendering/cell-template.directive.d.ts +1 -1
- package/rendering/common/row-class.d.ts +4 -4
- package/rendering/common/spacer.component.d.ts +1 -1
- package/rendering/details/detail-template.directive.d.ts +4 -4
- package/rendering/details-expand.directive.d.ts +2 -2
- package/rendering/footer/footer-template.directive.d.ts +4 -4
- package/rendering/groups-expand.directive.d.ts +2 -2
- package/rendering/header/header-template.directive.d.ts +2 -2
- package/rendering/loading-template.directive.d.ts +1 -1
- package/rendering/no-records-template.directive.d.ts +1 -1
- package/rendering/toolbar/toolbar-position.d.ts +1 -1
- package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
- package/rendering/toolbar/tools/ai-assistant/ai-assistant.component.d.ts +2 -3
- package/rendering/toolbar/tools/smartbox/models.d.ts +71 -0
- package/rendering/toolbar/tools/smartbox/search.service.d.ts +24 -0
- package/rendering/toolbar/tools/smartbox/segmented-control/models.d.ts +36 -0
- package/rendering/toolbar/tools/smartbox/segmented-control/segmented-control.component.d.ts +45 -0
- package/rendering/toolbar/tools/smartbox/smartbox-component/common.d.ts +38 -0
- package/rendering/toolbar/tools/smartbox/smartbox-component/models.d.ts +177 -0
- package/rendering/toolbar/tools/smartbox/smartbox-component/smartbox.component.d.ts +154 -0
- package/rendering/toolbar/tools/smartbox/smartbox-history-item.template.d.ts +29 -0
- package/rendering/toolbar/tools/smartbox/smartbox-suggestion.template.d.ts +29 -0
- package/rendering/toolbar/tools/smartbox/smartbox-tool.component.d.ts +120 -0
- package/row-reordering/types.d.ts +2 -2
- package/schematics/ngAdd/index.js +7 -7
- package/scrolling/content-scroll-event.d.ts +1 -1
- package/scrolling/scroll-request.service.d.ts +2 -2
- package/scrolling/scrollmode.d.ts +1 -1
- package/selection/selectall-checkbox.directive.d.ts +2 -2
- package/selection/selection-checkbox.directive.d.ts +1 -1
- package/selection/selection-default.d.ts +1 -1
- package/selection/selection.directive.d.ts +1 -1
- package/selection/types.d.ts +7 -7
- package/state-management/redo-command-tool.d.ts +1 -1
- package/state-management/undo-command-tool.d.ts +1 -1
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { EventEmitter } from '@angular/core';
|
|
6
|
+
import { ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
|
|
7
|
+
import { GridSmartBoxAIAssistantSettings, GridSmartBoxHistorySettings, GridSmartBoxMode, GridSmartBoxRequestEvent, GridSmartBoxResponseErrorEvent, GridSmartBoxResponseSuccessEvent, GridSmartBoxSearchEvent, GridSmartBoxSearchSettings, GridSmartBoxSemanticSearchEvent, GridSmartBoxSemanticSearchSettings, GridSmartBoxSize } from './models';
|
|
8
|
+
import { GridSmartBoxPromptSuggestionTemplateDirective } from './smartbox-suggestion.template';
|
|
9
|
+
import { GridSmartBoxHistoryItemTemplateDirective } from './smartbox-history-item.template';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
* Represents the toolbar tool for showing a smart bar.
|
|
13
|
+
* Use this component inside a ToolbarComponent in the Grid.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```html
|
|
17
|
+
* <kendo-grid>
|
|
18
|
+
* <kendo-toolbar>
|
|
19
|
+
* <kendo-grid-smartbox-tool></kendo-grid-smartbox-tool>
|
|
20
|
+
* </kendo-toolbar>
|
|
21
|
+
* </kendo-grid>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare class SmartBoxToolbarToolComponent extends ToolBarToolComponent {
|
|
25
|
+
promptSuggestionTemplate: GridSmartBoxPromptSuggestionTemplateDirective;
|
|
26
|
+
historyItemTemplate: GridSmartBoxHistoryItemTemplateDirective;
|
|
27
|
+
/**
|
|
28
|
+
* Controls the visibility and settings of the Search mode. By default, the mode is enabled.
|
|
29
|
+
*
|
|
30
|
+
* @default true
|
|
31
|
+
*/
|
|
32
|
+
searchMode: boolean | GridSmartBoxSearchSettings;
|
|
33
|
+
/**
|
|
34
|
+
* Controls the visibility and settings of the Semantic Search mode. By default, the mode is disabled.
|
|
35
|
+
*
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
semanticSearchMode: boolean | GridSmartBoxSemanticSearchSettings;
|
|
39
|
+
/**
|
|
40
|
+
* Controls the visibility and settings of the AI Assistant mode. By default, the mode is disabled.
|
|
41
|
+
*
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
aiAssistantMode: boolean | GridSmartBoxAIAssistantSettings;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the initially active mode of the tool.
|
|
47
|
+
*
|
|
48
|
+
* @default 'search'
|
|
49
|
+
*/
|
|
50
|
+
activeMode: GridSmartBoxMode;
|
|
51
|
+
/**
|
|
52
|
+
* Controls the visibility and settings of the history for each mode.
|
|
53
|
+
*/
|
|
54
|
+
history: boolean | GridSmartBoxHistorySettings;
|
|
55
|
+
/**
|
|
56
|
+
* Sets the placeholder of the input element in the SmartBox and applies to all modes.
|
|
57
|
+
*/
|
|
58
|
+
placeholder: string;
|
|
59
|
+
/**
|
|
60
|
+
* Specifies the padding of the input.
|
|
61
|
+
*
|
|
62
|
+
* @default 'medium'
|
|
63
|
+
*/
|
|
64
|
+
size: GridSmartBoxSize;
|
|
65
|
+
/**
|
|
66
|
+
* Emits when the SmartBox tool opens.
|
|
67
|
+
*/
|
|
68
|
+
open: EventEmitter<any>;
|
|
69
|
+
/**
|
|
70
|
+
* Emits when the SmartBox tool closes.
|
|
71
|
+
*/
|
|
72
|
+
close: EventEmitter<any>;
|
|
73
|
+
/**
|
|
74
|
+
* Emits when the SmartBox tool input is focused.
|
|
75
|
+
*/
|
|
76
|
+
inputFocus: EventEmitter<any>;
|
|
77
|
+
/**
|
|
78
|
+
* Emits when the SmartBox tool input is blurred.
|
|
79
|
+
*/
|
|
80
|
+
inputBlur: EventEmitter<any>;
|
|
81
|
+
/**
|
|
82
|
+
* Emits before the SmartBox tool sends the AI request.
|
|
83
|
+
* - When you provide a `requestUrl`, you can handle the event to modify the request options.
|
|
84
|
+
* - When you do not provide a `requestUrl`, you can handle the event to perform an entirely custom request.
|
|
85
|
+
*/
|
|
86
|
+
aiAssistantPromptRequest: EventEmitter<GridSmartBoxRequestEvent>;
|
|
87
|
+
/**
|
|
88
|
+
* Emits when the SmartBox tool completes the AI request successfully.
|
|
89
|
+
* The event contains the response from the AI service and is preventable to allow stopping the default response handling.
|
|
90
|
+
*/
|
|
91
|
+
aiAssistantResponseSuccess: EventEmitter<GridSmartBoxResponseSuccessEvent>;
|
|
92
|
+
/**
|
|
93
|
+
* Emits when the SmartBox tool completes the AI request with an error.
|
|
94
|
+
* The event contains the error response from the AI service and is preventable to allow stopping the default error handling.
|
|
95
|
+
*/
|
|
96
|
+
aiAssistantResponseError: EventEmitter<GridSmartBoxResponseErrorEvent>;
|
|
97
|
+
/**
|
|
98
|
+
* Emits when the user clicks the Cancel button.
|
|
99
|
+
*/
|
|
100
|
+
aiAssistantCancelRequest: EventEmitter<undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* Emits when the user types in Search mode. The event contains the search query and the filter descriptors created based on the query.
|
|
103
|
+
*/
|
|
104
|
+
search: EventEmitter<GridSmartBoxSearchEvent>;
|
|
105
|
+
/**
|
|
106
|
+
* Emits when the user types in Semantic Search mode. The event contains the search query and the filter descriptors created based on the query.
|
|
107
|
+
*/
|
|
108
|
+
semanticSearch: EventEmitter<GridSmartBoxSemanticSearchEvent>;
|
|
109
|
+
/**
|
|
110
|
+
* Emits when the mode of the SmartBox tool changes. The event contains the new mode.
|
|
111
|
+
*/
|
|
112
|
+
modeChange: EventEmitter<GridSmartBoxMode>;
|
|
113
|
+
/**
|
|
114
|
+
* Indicates whether the SmartBox tool is in a loading state. Use this to show a loading indicator in the UI.
|
|
115
|
+
*/
|
|
116
|
+
loading: boolean;
|
|
117
|
+
constructor();
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartBoxToolbarToolComponent, never>;
|
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartBoxToolbarToolComponent, "kendo-grid-smartbox-tool", never, { "searchMode": { "alias": "searchMode"; "required": false; }; "semanticSearchMode": { "alias": "semanticSearchMode"; "required": false; }; "aiAssistantMode": { "alias": "aiAssistantMode"; "required": false; }; "activeMode": { "alias": "activeMode"; "required": false; }; "history": { "alias": "history"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "open": "open"; "close": "close"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; "aiAssistantPromptRequest": "aiAssistantPromptRequest"; "aiAssistantResponseSuccess": "aiAssistantResponseSuccess"; "aiAssistantResponseError": "aiAssistantResponseError"; "aiAssistantCancelRequest": "aiAssistantCancelRequest"; "search": "search"; "semanticSearch": "semanticSearch"; "modeChange": "modeChange"; }, ["promptSuggestionTemplate", "historyItemTemplate"], never, true, never>;
|
|
120
|
+
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* Arguments for the [`rowReorder`](
|
|
7
|
-
* ([see example](
|
|
6
|
+
* Arguments for the [`rowReorder`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#rowreorder) event
|
|
7
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/rows/reordering)).
|
|
8
8
|
*/
|
|
9
9
|
export interface RowReorderEvent {
|
|
10
10
|
/**
|
|
@@ -9,19 +9,19 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
11
11
|
// peer deps of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '
|
|
13
|
-
'@progress/kendo-angular-navigation': '
|
|
12
|
+
'@progress/kendo-angular-treeview': '23.0.0-develop.10',
|
|
13
|
+
'@progress/kendo-angular-navigation': '23.0.0-develop.10',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '
|
|
15
|
+
'@progress/kendo-angular-dialog': '23.0.0-develop.10',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
18
18
|
// peer dependency of kendo-angular-layout
|
|
19
|
-
'@progress/kendo-angular-progressbar': '
|
|
19
|
+
'@progress/kendo-angular-progressbar': '23.0.0-develop.10',
|
|
20
20
|
// transitive peer dependencies from toolbar
|
|
21
|
-
'@progress/kendo-angular-indicators': '
|
|
21
|
+
'@progress/kendo-angular-indicators': '23.0.0-develop.10',
|
|
22
22
|
// transitive peer dependencies from conversational-ui
|
|
23
|
-
'@progress/kendo-angular-menu': '
|
|
24
|
-
'@progress/kendo-angular-upload': '
|
|
23
|
+
'@progress/kendo-angular-menu': '23.0.0-develop.10',
|
|
24
|
+
'@progress/kendo-angular-upload': '23.0.0-develop.10'
|
|
25
25
|
} });
|
|
26
26
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
27
27
|
}
|
|
@@ -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 the arguments for the [`contentScroll`](
|
|
6
|
+
* Provides the arguments for the [`contentScroll`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#contentscroll) event.
|
|
7
7
|
*/
|
|
8
8
|
export interface ContentScrollEvent {
|
|
9
9
|
/**
|
|
@@ -6,7 +6,7 @@ import { Subject } from 'rxjs';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Defines the arguments for the `scrollTo` method. Use this to specify the row or column to scroll to.
|
|
9
|
-
* [See example](
|
|
9
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes#scrolling-to-a-specific-row-and-column).
|
|
10
10
|
*/
|
|
11
11
|
export interface ScrollRequest {
|
|
12
12
|
/**
|
|
@@ -20,7 +20,7 @@ export interface ScrollRequest {
|
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Defines the arguments for the `scrollToItem` method. Use this to specify the data item and column to scroll to.
|
|
23
|
-
* [See example](
|
|
23
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes#scrolling-to-a-specific-item).
|
|
24
24
|
*/
|
|
25
25
|
export interface ScrollToItemRequest {
|
|
26
26
|
/**
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* The available values are:
|
|
9
9
|
* * `none`—Hides scrollbars. The Grid does not scroll.
|
|
10
10
|
* * `scrollable`—Shows scrollbars in the Grid.
|
|
11
|
-
* * `virtual`—Enables the [virtual scroll mode](
|
|
11
|
+
* * `virtual`—Enables the [virtual scroll mode](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes/virtual) of the Grid.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```html
|
|
@@ -9,7 +9,7 @@ import { CellSelectionService } from './cell-selection.service';
|
|
|
9
9
|
import { CheckBoxComponent } from '@progress/kendo-angular-inputs';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
* Adds a select-all checkbox to the Grid. [See example](
|
|
12
|
+
* Adds a select-all checkbox to the Grid. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting#selecting-all-rows).
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* ```html
|
|
@@ -33,7 +33,7 @@ export declare class SelectAllCheckboxDirective implements AfterContentChecked,
|
|
|
33
33
|
state: SelectAllCheckboxState;
|
|
34
34
|
/**
|
|
35
35
|
* Emits when the user clicks the select-all checkbox.
|
|
36
|
-
* ([see example](
|
|
36
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/row-selection#select-all-checkbox)).
|
|
37
37
|
*/
|
|
38
38
|
selectAllChange: EventEmitter<SelectAllCheckboxState>;
|
|
39
39
|
private destroyClick;
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
/**
|
|
12
12
|
* Adds a row-selection checkbox to the Grid.
|
|
13
13
|
* Use this directive on a `<kendo-checkbox>` component or `<input type="checkbox">` element inside a cell template.
|
|
14
|
-
* When the user clicks the checkbox, the Grid triggers a [`selectionChange`](
|
|
14
|
+
* When the user clicks the checkbox, the Grid triggers a [`selectionChange`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#selectionChange) event.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```html
|
|
@@ -35,7 +35,7 @@ export declare class Selection {
|
|
|
35
35
|
rangeSelectionStartColumnIndex: number;
|
|
36
36
|
/**
|
|
37
37
|
* Sets the item key to store in `selectedKeys`.
|
|
38
|
-
* [See example](
|
|
38
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting#using-data-item-field).
|
|
39
39
|
*/
|
|
40
40
|
selectionKey: string | ((context: RowArgs) => any);
|
|
41
41
|
/**
|
|
@@ -8,7 +8,7 @@ import { Selection } from "./selection-default";
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* Stores the row selection state of the Grid in memory
|
|
11
|
-
* ([see example](
|
|
11
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting)).
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```html
|
package/selection/types.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { SelectionAggregate, SelectionAggregates } from '../aggregates/aggregate
|
|
|
6
6
|
import { ColumnComponent } from './../columns/column.component';
|
|
7
7
|
import { RowArgs } from './../rendering/common/row-args';
|
|
8
8
|
/**
|
|
9
|
-
* Represents the callback used by the [`cellSelected`](
|
|
9
|
+
* Represents the callback used by the [`cellSelected`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cellselected) property. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/custom-selection#setting-the-selected-cells)).
|
|
10
10
|
*
|
|
11
11
|
* @param row The row arguments.
|
|
12
12
|
* @param column The column component.
|
|
@@ -18,7 +18,7 @@ export type CellSelectedFn = (row: RowArgs, column: ColumnComponent, colIndex: n
|
|
|
18
18
|
item: CellSelectionItem;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
|
-
* Provides arguments for the Grid [`selectionChange`](
|
|
21
|
+
* Provides arguments for the Grid [`selectionChange`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#selectionchange) event.
|
|
22
22
|
*/
|
|
23
23
|
export interface SelectionEvent {
|
|
24
24
|
/**
|
|
@@ -67,7 +67,7 @@ export interface SelectionEvent {
|
|
|
67
67
|
rangeEndCell?: CellSelectionItem;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
|
-
* Configures the selection functionality of the Grid. ([See example](
|
|
70
|
+
* Configures the selection functionality of the Grid. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection#setup)).
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* ```html
|
|
@@ -81,7 +81,7 @@ export interface SelectableSettings {
|
|
|
81
81
|
/**
|
|
82
82
|
* Enables selection aggregates. By default, this property is set to `false`.
|
|
83
83
|
* If you set `cellAggregates` to `true`, the Grid calculates all aggregate options.
|
|
84
|
-
* Pass an array of [`SelectionAggregate`](
|
|
84
|
+
* Pass an array of [`SelectionAggregate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/selectionaggregate) type options to choose which aggregates to calculate.
|
|
85
85
|
*
|
|
86
86
|
*/
|
|
87
87
|
cellAggregates?: boolean | SelectionAggregate[];
|
|
@@ -124,11 +124,11 @@ export interface SelectableSettings {
|
|
|
124
124
|
multipleRanges?: boolean;
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
|
-
* Lists the available selection modes. [See example](
|
|
127
|
+
* Lists the available selection modes. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/row-selection).
|
|
128
128
|
*
|
|
129
129
|
* The available values are:
|
|
130
|
-
* * `single`—Enables single selection. Clicking the selected row does not deselect it. [See example](
|
|
131
|
-
* * `multiple`—Enables multiple selection. [See example](
|
|
130
|
+
* * `single`—Enables single selection. Clicking the selected row does not deselect it. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/row-selection#single-row-selection).
|
|
131
|
+
* * `multiple`—Enables multiple selection. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/row-selection#multiple-rows-selection).
|
|
132
132
|
*
|
|
133
133
|
* @example
|
|
134
134
|
* ```html
|
|
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* Apply this directive to any `kendo-toolbar-button` inside a ToolbarComponent in the Grid.
|
|
11
11
|
*
|
|
12
12
|
* When users click the toolbar button with this directive, the
|
|
13
|
-
* [`redo`](
|
|
13
|
+
* [`redo`](https://www.telerik.com/kendo-angular-ui/components/grid/api/undoredodirective#redo) event is triggered.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* ```html
|
|
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* Apply this directive to any `kendo-toolbar-button` inside a ToolbarComponent in the Grid.
|
|
11
11
|
*
|
|
12
12
|
* When users click the toolbar button with this directive, the
|
|
13
|
-
* [`undo`](
|
|
13
|
+
* [`undo`](https://www.telerik.com/kendo-angular-ui/components/grid/api/undoredodirective#undo) event is triggered.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* ```html
|