@progress/kendo-angular-treelist 22.1.0-develop.9 → 23.0.0-develop.2
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/binding-directives/flat-binding.directive.d.ts +2 -2
- package/binding-directives/hierarchy-binding.directive.d.ts +2 -2
- package/column-menu/column-chooser.component.d.ts +1 -1
- package/column-menu/column-menu-autosize-all.component.d.ts +3 -3
- package/column-menu/column-menu-autosize.component.d.ts +3 -3
- package/column-menu/column-menu-chooser.component.d.ts +3 -3
- package/column-menu/column-menu-expandable-item.interface.d.ts +1 -1
- package/column-menu/column-menu-filter.component.d.ts +2 -2
- 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 +4 -4
- package/column-menu/column-menu-item.directive.d.ts +1 -1
- package/column-menu/column-menu-lock.component.d.ts +2 -2
- package/column-menu/column-menu-settings.interface.d.ts +3 -3
- package/column-menu/column-menu-sort.component.d.ts +2 -2
- 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 +17 -10
- package/columns/column-group.component.d.ts +1 -1
- package/columns/column.component.d.ts +2 -2
- package/columns/command-column.component.d.ts +5 -5
- package/columns/span-column.component.d.ts +2 -2
- package/common/pager-settings.d.ts +1 -1
- package/common/single-popup.service.d.ts +1 -1
- package/data/change-event-args.interface.d.ts +2 -2
- package/data/data.collection.d.ts +1 -1
- package/data/treelist-item.interface.d.ts +1 -1
- 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 +2 -2
- package/editing/cancel-command.directive.d.ts +2 -2
- package/editing/cancel-event-args.interface.d.ts +1 -1
- package/editing/edit-command.directive.d.ts +2 -2
- package/editing/edit-event-args.interface.d.ts +1 -1
- package/editing/edit-template.directive.d.ts +1 -1
- package/editing/remove-command.directive.d.ts +2 -2
- package/editing/remove-event-args.interface.d.ts +1 -1
- package/editing/save-command.directive.d.ts +2 -2
- package/editing/save-event-args.interface.d.ts +1 -1
- package/editing-directives/edit-service.interface.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-export-data.interface.d.ts +1 -1
- package/excel/excel-export-event.d.ts +1 -1
- package/excel/excel.component.d.ts +4 -4
- package/expand-state/expand-event.d.ts +1 -1
- package/expand-state/expandable.directive.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-treelist.mjs +499 -390
- 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 +1 -1
- package/filtering/cell/filter-cell-template.directive.d.ts +1 -1
- 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 +1 -1
- package/filtering/filter.service.d.ts +1 -1
- package/filtering/menu/boolean-filter-menu.component.d.ts +1 -1
- package/filtering/menu/date-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/numeric-filter-menu.component.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/localization/custom-messages.component.d.ts +1 -1
- package/localization/messages.d.ts +7 -7
- package/navigation/focus-group.d.ts +1 -1
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/navigation.service.d.ts +6 -2
- package/package-metadata.mjs +2 -2
- package/package.json +20 -20
- package/pdf/pdf-command-tool.directive.d.ts +2 -2
- package/pdf/pdf-command.directive.d.ts +3 -3
- package/pdf/pdf-margin.interface.d.ts +1 -1
- package/pdf/pdf.component.d.ts +1 -1
- package/rendering/cell-template.directive.d.ts +1 -1
- package/rendering/common/row-class.d.ts +2 -2
- package/rendering/common/spacer.component.d.ts +1 -1
- package/rendering/footer-template.directive.d.ts +2 -2
- package/rendering/header/header-template.directive.d.ts +3 -3
- package/rendering/no-records-template.directive.d.ts +1 -1
- package/rendering/toolbar/toolbar-template.directive.d.ts +2 -2
- package/schematics/ngAdd/index.js +3 -3
- package/scrolling/content-scroll-event.d.ts +1 -1
- package/scrolling/scroll-bottom-event.d.ts +1 -1
- package/scrolling/scrollmode.d.ts +1 -1
- package/selection/is-selected.d.ts +1 -1
- package/selection/selectable-settings.d.ts +5 -5
- package/selection/selectable.directive.d.ts +2 -2
- package/selection/selection-change-event.d.ts +1 -1
- package/treelist.component.d.ts +40 -40
|
@@ -10,8 +10,8 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* Represents the Kendo for Angular UI TreeList flat binding directive.
|
|
12
12
|
* Use this directive to bind the TreeList to a flat array of objects using `idField` and `parentIdField` to define the hierarchy.
|
|
13
|
-
* Handles in-memory data operations [sorting](
|
|
14
|
-
* and [filtering](
|
|
13
|
+
* Handles in-memory data operations [sorting](https://www.telerik.com/kendo-angular-ui/components/treelist/sorting/basics), [aggregation](https://www.telerik.com/kendo-angular-ui/components/treelist/aggregates)
|
|
14
|
+
* and [filtering](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics). [More information and examples](https://www.telerik.com/kendo-angular-ui/components/treelist/data-binding/basics).
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
export declare class FlatBindingDirective extends BaseBindingDirective {
|
|
@@ -10,8 +10,8 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* Represents the Kendo UI for Angular TreeList hierarchy binding directive.
|
|
12
12
|
* Use this directive to bind the TreeList to a tree of objects using a field that holds child data items.
|
|
13
|
-
* Handles in-memory data operations [sorting](
|
|
14
|
-
* and [filtering](
|
|
13
|
+
* Handles in-memory data operations [sorting](https://www.telerik.com/kendo-angular-ui/components/treelist/sorting/basics), [aggregation](https://www.telerik.com/kendo-angular-ui/components/treelist/aggregates)
|
|
14
|
+
* and [filtering](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics). [More information and examples.](https://www.telerik.com/kendo-angular-ui/components/treelist/data-binding/local-data#binding-to-hierarchical-data-1)
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```html
|
|
@@ -11,7 +11,7 @@ import { ColumnInfoService } from '../common/column-info.service';
|
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
13
|
* Represents the Kendo UI for Angular TreeList column chooser component.
|
|
14
|
-
* Use this component to let users show or hide columns in the TreeList. To display the column chooser outside the Column Menu, add it inside the [`ToolbarTemplate`](
|
|
14
|
+
* Use this component to let users show or hide columns in the TreeList. To display the column chooser outside the Column Menu, add it inside the [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/toolbartemplatedirective) directive.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```html
|
|
@@ -8,10 +8,10 @@ import { ContextService } from '../common/provider.service';
|
|
|
8
8
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
* Represents the Kendo UI TreeList column-menu item for resizing all columns to fit the widest header or cell content without wrapping. [See example](
|
|
11
|
+
* Represents the Kendo UI TreeList column-menu item for resizing all columns to fit the widest header or cell content without wrapping. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu#autosize-all-columns-item).
|
|
12
12
|
*
|
|
13
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
14
|
-
* Register the component as a known column menu item by setting the [`ColumnMenuService`](
|
|
13
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive to enable the feature.
|
|
14
|
+
* Register the component as a known column menu item by setting the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice) to the `service` input. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu#customizing-the-content).
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```html
|
|
@@ -8,10 +8,10 @@ import { ContextService } from '../common/provider.service';
|
|
|
8
8
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
* Represents the Kendo UI for Angular TreeList column-menu item for resizing a specified column to fit the header or cell content without wrapping. [See example](
|
|
11
|
+
* Represents the Kendo UI for Angular TreeList column-menu item for resizing a specified column to fit the header or cell content without wrapping. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu#customizing-the-content).
|
|
12
12
|
*
|
|
13
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
14
|
-
* Set the [`ColumnMenuService`](
|
|
13
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive to enable the feature.
|
|
14
|
+
* Set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice) and `column` inputs using the values passed by the template.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```html
|
|
@@ -10,10 +10,10 @@ import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
12
|
*
|
|
13
|
-
* Represents the Kendo UI for Angular TreeList column-menu item for chaging the visibility of the columns. [See example](
|
|
13
|
+
* Represents the Kendo UI for Angular TreeList column-menu item for chaging the visibility of the columns. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu#column-chooser-item).
|
|
14
14
|
*
|
|
15
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
16
|
-
* Set the [`ColumnMenuService`](
|
|
15
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive to enable the feature.
|
|
16
|
+
* Set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice) and `column` inputs using the values passed by the template.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ```html
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
6
|
* Configures whether a column menu item is initially expanded.
|
|
7
|
-
* You can set this option for the `columnChooser` and `filter` [`ColumnMenuSettings`](
|
|
7
|
+
* You can set this option for the `columnChooser` and `filter` [`ColumnMenuSettings`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenusettings) options.
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
10
|
export interface ExpandableColumnMenuItem {
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* Represents the column-menu item for editing column filters in the TreeList.
|
|
12
12
|
*
|
|
13
|
-
* Render this component inside a [`ColumnMenuTemplate`](
|
|
13
|
+
* Render this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive.
|
|
14
14
|
*
|
|
15
|
-
* To register the component as a known column menu item, set the [`ColumnMenuService`](
|
|
15
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice)
|
|
16
16
|
* that the template passes to the `service` input of the `kendo-treelist-columnmenu-filter` component.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class ColumnMenuItemBase implements OnInit {
|
|
12
12
|
/**
|
|
13
|
-
* Represents the [`ColumnMenuService`](
|
|
13
|
+
* Represents the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice) instance.
|
|
14
14
|
* Requires a mandatory input.
|
|
15
15
|
*/
|
|
16
16
|
service: ColumnMenuService;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
* Represents the content template for the [`kendo-treelist-columnmenu-item`](
|
|
8
|
+
* Represents the content template for the [`kendo-treelist-columnmenu-item`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuitemcomponent) component.
|
|
9
9
|
* Use this directive to specify the content of a column menu item.
|
|
10
10
|
* To define the content template, nest an `<ng-template>` tag with the `kendoTreeListColumnMenuItemContentTemplate` directive inside a `<kendo-treelist-columnmenu-item>`.
|
|
11
11
|
*
|
|
@@ -8,7 +8,7 @@ import { ColumnMenuItemContentTemplateDirective } from './column-menu-item-conte
|
|
|
8
8
|
import { ColumnMenuService } from './column-menu.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
* Represents an item you can place inside a [`ColumnMenuTemplate`](
|
|
11
|
+
* Represents an item you can place inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```html
|
|
@@ -33,11 +33,11 @@ export declare class ColumnMenuItemComponent implements AfterViewInit, OnChanges
|
|
|
33
33
|
*/
|
|
34
34
|
collapse: EventEmitter<any>;
|
|
35
35
|
/**
|
|
36
|
-
* Sets the name of the [font icon](
|
|
36
|
+
* Sets the name of the [font icon](https://www.telerik.com/kendo-angular-ui/components/styling/icons#icons-list) rendered for the item.
|
|
37
37
|
*/
|
|
38
38
|
icon: string;
|
|
39
39
|
/**
|
|
40
|
-
* Sets the name of the [SVG icon](
|
|
40
|
+
* Sets the name of the [SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) rendered for the item.
|
|
41
41
|
*/
|
|
42
42
|
svgIcon: SVGIcon;
|
|
43
43
|
/**
|
|
@@ -57,7 +57,7 @@ export declare class ColumnMenuItemComponent implements AfterViewInit, OnChanges
|
|
|
57
57
|
*/
|
|
58
58
|
expanded: boolean;
|
|
59
59
|
/**
|
|
60
|
-
* Provides the [ColumnMenuService](
|
|
60
|
+
* Provides the [ColumnMenuService](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice) instance.
|
|
61
61
|
* Required to include the item in the column menu keyboard navigation sequence.
|
|
62
62
|
*/
|
|
63
63
|
service: ColumnMenuService;
|
|
@@ -6,7 +6,7 @@ import { ElementRef, NgZone, Renderer2 } from '@angular/core';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Provides keyboard navigation support for TreeList column menu items.
|
|
9
|
-
* Use this directive to manage focus and tab order for custom column menu items ([see example](
|
|
9
|
+
* Use this directive to manage focus and tab order for custom column menu items ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu#customizing-the-content)).
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```html
|
|
@@ -11,9 +11,9 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
/**
|
|
12
12
|
* Represents the column-menu item that lets you lock or unlock columns.
|
|
13
13
|
*
|
|
14
|
-
* Render this component inside a [`ColumnMenuTemplate`](
|
|
14
|
+
* Render this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive.
|
|
15
15
|
*
|
|
16
|
-
* To register the component as a known column menu item, set the [`ColumnMenuService`](
|
|
16
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice)
|
|
17
17
|
* that the template passes to the `service` input of the `kendo-treelist-columnmenu-lock` component.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
@@ -17,12 +17,12 @@ import { ExpandableColumnMenuItem } from "./column-menu-expandable-item.interfac
|
|
|
17
17
|
export interface ColumnMenuSettings {
|
|
18
18
|
/**
|
|
19
19
|
* Specifies if the columns can be sorted in the column menu.
|
|
20
|
-
* If [sorting](
|
|
20
|
+
* If [sorting](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#sortable) is enabled, the default value is `true`.
|
|
21
21
|
*/
|
|
22
22
|
sort?: boolean;
|
|
23
23
|
/**
|
|
24
24
|
* Specifies if the columns can be filtered in the column menu.
|
|
25
|
-
* If [filtering](
|
|
25
|
+
* If [filtering](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#filterable) is enabled, the default value is `true`.
|
|
26
26
|
*/
|
|
27
27
|
filter?: boolean | ExpandableColumnMenuItem;
|
|
28
28
|
/**
|
|
@@ -31,7 +31,7 @@ export interface ColumnMenuSettings {
|
|
|
31
31
|
columnChooser?: boolean | ExpandableColumnMenuItem;
|
|
32
32
|
/**
|
|
33
33
|
* Specifies if the columns can be locked and unlocked from the column menu.
|
|
34
|
-
* This option follows the prerequisites and limitations of the [locked columns](
|
|
34
|
+
* This option follows the prerequisites and limitations of the [locked columns](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/locked).
|
|
35
35
|
*/
|
|
36
36
|
lock?: boolean;
|
|
37
37
|
/**
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* Represents the column-menu item for sorting TreeList columns.
|
|
12
12
|
*
|
|
13
|
-
* Render this component inside a [`ColumnMenuTemplate`](
|
|
13
|
+
* Render this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive.
|
|
14
14
|
*
|
|
15
|
-
* To register the component as a known column menu item, set the [`ColumnMenuService`](
|
|
15
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice)
|
|
16
16
|
* that the template passes to the `service` input of the `kendo-treelist-columnmenu-sort` component.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
* To define the content template, nest an `<ng-template>` tag with the `kendoTreeListColumnMenuTemplate` directive inside the `kendo-treelist` or the `<kendo-treelist-column>` component.
|
|
10
10
|
*
|
|
11
11
|
* The template context is passed through the following fields:
|
|
12
|
-
* - `service`—Represents the [ColumnMenuService](
|
|
12
|
+
* - `service`—Represents the [ColumnMenuService](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenuservice).
|
|
13
13
|
* - `column`—Represents the TreeList column.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
@@ -12,7 +12,7 @@ import { IdService } from '../common/id.service';
|
|
|
12
12
|
import { ContextService } from '../common/provider.service';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
/**
|
|
15
|
-
* Represents the [column menu](
|
|
15
|
+
* Represents the [column menu](https://www.telerik.com/kendo-angular-ui/components/treelist/accessories/column-menu) component of the TreeList.
|
|
16
16
|
* Use this component to display and manage column menu options for a TreeList column.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
@@ -51,12 +51,12 @@ export declare class ColumnMenuComponent implements AfterViewInit, OnChanges, On
|
|
|
51
51
|
settings: ColumnMenuSettings;
|
|
52
52
|
/**
|
|
53
53
|
* The descriptors by which the data is sorted.
|
|
54
|
-
* Typically bound to the same value as [TreeListComponent.sort](
|
|
54
|
+
* Typically bound to the same value as [TreeListComponent.sort](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#sort).
|
|
55
55
|
*/
|
|
56
56
|
sort: any;
|
|
57
57
|
/**
|
|
58
58
|
* The descriptor by which the data is filtered.
|
|
59
|
-
* Typically bound to the same value as [TreeListComponent.filter](
|
|
59
|
+
* Typically bound to the same value as [TreeListComponent.filter](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#filter).
|
|
60
60
|
*/
|
|
61
61
|
filter: any;
|
|
62
62
|
/**
|
|
@@ -7,7 +7,7 @@ import { MenuTabbingService } from '../filtering/menu/menu-tabbing.service';
|
|
|
7
7
|
import type { ColumnMenuContainerComponent } from './column-menu-container.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
|
-
* Represents the service passed to the [`ColumnMenuTemplate`](
|
|
10
|
+
* Represents the service passed to the [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnmenutemplatedirective) directive.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```html
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { ColumnBase } from '../columns/column-base';
|
|
7
7
|
/**
|
|
8
|
-
* Describes the returned type of the [`columnResize`](
|
|
8
|
+
* Describes the returned type of the [`columnResize`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#columnresize) event.
|
|
9
9
|
* Use this interface to access the resized column and its width values.
|
|
10
10
|
*/
|
|
11
11
|
export interface ColumnResizeArgs {
|
|
@@ -7,7 +7,7 @@ import { ColumnBase } from './column-base';
|
|
|
7
7
|
import { CellTemplateDirective } from '../rendering/cell-template.directive';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
|
-
* Represents the checkbox column for selecting rows in the TreeList. [See example](
|
|
10
|
+
* Represents the checkbox column for selecting rows in the TreeList. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/selection/row-selection#select-all-checkbox).
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```html
|
package/columns/column-base.d.ts
CHANGED
|
@@ -67,6 +67,13 @@ export declare class ColumnBase implements OnChanges {
|
|
|
67
67
|
* @default true
|
|
68
68
|
*/
|
|
69
69
|
reorderable: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Sets the distance in pixels by which the column width is adjusted during keyboard navigation resizing.
|
|
72
|
+
* Used when resizing columns with `Alt/Option + Left/Right Arrow` keyboard shortcuts.
|
|
73
|
+
*
|
|
74
|
+
* @default 10
|
|
75
|
+
*/
|
|
76
|
+
resizeStep: number;
|
|
70
77
|
/**
|
|
71
78
|
* Sets the minimum width (in pixels) for resizing the column using the UI.
|
|
72
79
|
* @default 10
|
|
@@ -86,19 +93,19 @@ export declare class ColumnBase implements OnChanges {
|
|
|
86
93
|
*/
|
|
87
94
|
autoSize: boolean;
|
|
88
95
|
/**
|
|
89
|
-
* Toggles the locked (frozen) state of the columns ([more information and example](
|
|
96
|
+
* Toggles the locked (frozen) state of the columns ([more information and example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/locked)).
|
|
90
97
|
* @default false
|
|
91
98
|
*/
|
|
92
99
|
set locked(value: boolean);
|
|
93
100
|
get locked(): boolean;
|
|
94
101
|
protected _locked: boolean;
|
|
95
102
|
/**
|
|
96
|
-
* Sets the visibility of the column ([see example](
|
|
103
|
+
* Sets the visibility of the column ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/hidden#using-the-built-in-options)).
|
|
97
104
|
* @default false
|
|
98
105
|
*/
|
|
99
106
|
hidden: boolean;
|
|
100
107
|
/**
|
|
101
|
-
* Sets the condition that must be satisfied for a column to remain visible ([see example](
|
|
108
|
+
* Sets the condition that must be satisfied for a column to remain visible ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/styling/responsive#columns)).
|
|
102
109
|
* If you set the `hidden` property, the behavior of `media` is overridden.
|
|
103
110
|
*/
|
|
104
111
|
media: string;
|
|
@@ -123,31 +130,31 @@ export declare class ColumnBase implements OnChanges {
|
|
|
123
130
|
*/
|
|
124
131
|
tableCellsRole: string;
|
|
125
132
|
/**
|
|
126
|
-
* Sets custom styles for the table cells (excluding the footer and header) of the column. Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example](
|
|
133
|
+
* Sets custom styles for the table cells (excluding the footer and header) of the column. Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/styling/columns).
|
|
127
134
|
*/
|
|
128
135
|
style: {
|
|
129
136
|
[key: string]: string;
|
|
130
137
|
};
|
|
131
138
|
/**
|
|
132
|
-
* Sets custom styles for the header cell of the column. Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example.](
|
|
139
|
+
* Sets custom styles for the header cell of the column. Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example.](https://www.telerik.com/kendo-angular-ui/components/treelist/styling/columns)
|
|
133
140
|
*/
|
|
134
141
|
headerStyle: {
|
|
135
142
|
[key: string]: string;
|
|
136
143
|
};
|
|
137
144
|
/**
|
|
138
|
-
* Sets custom styles for the footer cell of the column. Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example.](
|
|
145
|
+
* Sets custom styles for the footer cell of the column. Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example.](https://www.telerik.com/kendo-angular-ui/components/treelist/styling/columns)
|
|
139
146
|
*/
|
|
140
147
|
footerStyle: {
|
|
141
148
|
[key: string]: string;
|
|
142
149
|
};
|
|
143
150
|
/**
|
|
144
|
-
* Sets custom CSS classes to the column cells. Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. To customize header and footer column cells, use the [`headerClass`](
|
|
151
|
+
* Sets custom CSS classes to the column cells. Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. To customize header and footer column cells, use the [`headerClass`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent#headerclass) and [`footerClass`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent#footerclass) inputs.
|
|
145
152
|
*/
|
|
146
153
|
cssClass: string | string[] | Set<string> | {
|
|
147
154
|
[key: string]: any;
|
|
148
155
|
};
|
|
149
156
|
/**
|
|
150
|
-
* Sets custom CSS classes to the column header cell. Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](
|
|
157
|
+
* Sets custom CSS classes to the column header cell. Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/styling/columns).
|
|
151
158
|
*/
|
|
152
159
|
headerClass: string | string[] | Set<string> | {
|
|
153
160
|
[key: string]: any;
|
|
@@ -155,7 +162,7 @@ export declare class ColumnBase implements OnChanges {
|
|
|
155
162
|
/**
|
|
156
163
|
* Sets the custom CSS classes to the column footer cell. Under the hood, to apply the property,
|
|
157
164
|
* the `footerClass` option uses the
|
|
158
|
-
* [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](
|
|
165
|
+
* [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/styling/columns).
|
|
159
166
|
*/
|
|
160
167
|
footerClass: string | string[] | Set<string> | {
|
|
161
168
|
[key: string]: any;
|
|
@@ -224,5 +231,5 @@ export declare class ColumnBase implements OnChanges {
|
|
|
224
231
|
constructor(parent?: ColumnBase, optionChanges?: OptionChangesService);
|
|
225
232
|
ngOnChanges(_changes: any): void;
|
|
226
233
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnBase, never>;
|
|
227
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnBase, never, never, { "resizable": { "alias": "resizable"; "required": false; }; "reorderable": { "alias": "reorderable"; "required": false; }; "minResizableWidth": { "alias": "minResizableWidth"; "required": false; }; "title": { "alias": "title"; "required": false; }; "width": { "alias": "width"; "required": false; }; "autoSize": { "alias": "autoSize"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "media": { "alias": "media"; "required": false; }; "lockable": { "alias": "lockable"; "required": false; }; "columnMenu": { "alias": "columnMenu"; "required": false; }; "includeInChooser": { "alias": "includeInChooser"; "required": false; }; "tableCellsRole": { "alias": "tableCellsRole"; "required": false; }; "style": { "alias": "style"; "required": false; }; "headerStyle": { "alias": "headerStyle"; "required": false; }; "footerStyle": { "alias": "footerStyle"; "required": false; }; "cssClass": { "alias": "class"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; "footerClass": { "alias": "footerClass"; "required": false; }; }, {}, ["footerTemplate", "headerTemplates", "columnMenuTemplates"], never, true, never>;
|
|
234
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnBase, never, never, { "resizable": { "alias": "resizable"; "required": false; }; "reorderable": { "alias": "reorderable"; "required": false; }; "resizeStep": { "alias": "resizeStep"; "required": false; }; "minResizableWidth": { "alias": "minResizableWidth"; "required": false; }; "title": { "alias": "title"; "required": false; }; "width": { "alias": "width"; "required": false; }; "autoSize": { "alias": "autoSize"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "media": { "alias": "media"; "required": false; }; "lockable": { "alias": "lockable"; "required": false; }; "columnMenu": { "alias": "columnMenu"; "required": false; }; "includeInChooser": { "alias": "includeInChooser"; "required": false; }; "tableCellsRole": { "alias": "tableCellsRole"; "required": false; }; "style": { "alias": "style"; "required": false; }; "headerStyle": { "alias": "headerStyle"; "required": false; }; "footerStyle": { "alias": "footerStyle"; "required": false; }; "cssClass": { "alias": "class"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; "footerClass": { "alias": "footerClass"; "required": false; }; }, {}, ["footerTemplate", "headerTemplates", "columnMenuTemplates"], never, true, never>;
|
|
228
235
|
}
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function isColumnGroupComponent(column: any): column is ColumnGroupComponent;
|
|
13
13
|
/**
|
|
14
|
-
* Represents the column group header of the TreeList. ([More information and examples](
|
|
14
|
+
* Represents the column group header of the TreeList. ([More information and examples](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/headers)).
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```html
|
|
@@ -47,7 +47,7 @@ export declare class ColumnComponent extends ColumnBase {
|
|
|
47
47
|
*/
|
|
48
48
|
field: string;
|
|
49
49
|
/**
|
|
50
|
-
* Sets the format applied to the value before display. For supported date and number formats, see the [Column Formats](
|
|
50
|
+
* Sets the format applied to the value before display. For supported date and number formats, see the [Column Formats](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/formats) article.
|
|
51
51
|
*/
|
|
52
52
|
format: any;
|
|
53
53
|
/**
|
|
@@ -56,7 +56,7 @@ export declare class ColumnComponent extends ColumnBase {
|
|
|
56
56
|
*/
|
|
57
57
|
sortable: boolean | ColumnSortSettings;
|
|
58
58
|
/**
|
|
59
|
-
* Sets the editor type ([see example](
|
|
59
|
+
* Sets the editor type ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/reactive-forms#setup)). Used when the column enters edit mode. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/reactive-forms).
|
|
60
60
|
* @default 'text'
|
|
61
61
|
*/
|
|
62
62
|
editor: 'text' | 'numeric' | 'date' | 'boolean';
|
|
@@ -10,13 +10,13 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* Represents the command column of the TreeList. Define the content of the column inside an `<ng-template>` tag.
|
|
12
12
|
* For more information and examples on using the passed fields and command directives, see
|
|
13
|
-
* [editing the TreeList in Angular Reactive Forms](
|
|
13
|
+
* [editing the TreeList in Angular Reactive Forms](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/reactive-forms).
|
|
14
14
|
*
|
|
15
15
|
* Usually, the template contains CRUD command directives such as:
|
|
16
|
-
* - [`EditCommandDirective`](
|
|
17
|
-
* - [`RemoveCommandDirective`](
|
|
18
|
-
* - [`CancelCommandDirective`](
|
|
19
|
-
* - [`SaveCommandDirective`](
|
|
16
|
+
* - [`EditCommandDirective`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/editcommanddirective)
|
|
17
|
+
* - [`RemoveCommandDirective`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/removecommanddirective)
|
|
18
|
+
* - [`CancelCommandDirective`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/cancelcommanddirective)
|
|
19
|
+
* - [`SaveCommandDirective`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/savecommanddirective)
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* ```html
|
|
@@ -15,7 +15,7 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
export declare function isSpanColumnComponent(column: any): column is SpanColumnComponent;
|
|
16
16
|
/**
|
|
17
17
|
* Represents a column that spans multiple data cells while keeping individual header and footer cells.
|
|
18
|
-
* Use this component to create flexible layouts and retain built-in UI for [sorting](
|
|
18
|
+
* Use this component to create flexible layouts and retain built-in UI for [sorting](https://www.telerik.com/kendo-angular-ui/components/treelist/sorting/basics) and [filtering](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/basics).
|
|
19
19
|
* Wrap the columns to merge inside the `<kendo-treelist-span-column>` tag.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
@@ -106,7 +106,7 @@ export declare class SpanColumnComponent extends ColumnBase {
|
|
|
106
106
|
*/
|
|
107
107
|
get colspan(): number;
|
|
108
108
|
/**
|
|
109
|
-
* Toggles the locked (frozen) state of the columns. Locked columns are visible at all times during horizontal scrolling. [See example](
|
|
109
|
+
* Toggles the locked (frozen) state of the columns. Locked columns are visible at all times during horizontal scrolling. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/columns/locked).
|
|
110
110
|
* @default false
|
|
111
111
|
*/
|
|
112
112
|
set locked(value: boolean);
|
|
@@ -55,7 +55,7 @@ export interface PagerSettings {
|
|
|
55
55
|
previousNext?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
* Toggles the built-in responsive behavior of the Pager.
|
|
58
|
-
* Available in version `3.0.0` and above ([see example](
|
|
58
|
+
* Available in version `3.0.0` and above ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/paging/responsive-pager)).
|
|
59
59
|
*/
|
|
60
60
|
responsive?: boolean;
|
|
61
61
|
}
|
|
@@ -25,7 +25,7 @@ export declare class PopupCloseEvent extends PreventableEvent {
|
|
|
25
25
|
/**
|
|
26
26
|
* Represents the service used for the popups of the filter and column menus.
|
|
27
27
|
* Use this service to manage popup opening, closing, and event handling.
|
|
28
|
-
* ([See example](
|
|
28
|
+
* ([See example](https://www.telerik.com/kendo-angular-ui/components/treelist/filtering/filter-menu#filter-menu-with-popup)).
|
|
29
29
|
*/
|
|
30
30
|
export declare class SinglePopupService implements OnDestroy {
|
|
31
31
|
private popupService;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { SortDescriptor, CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
6
6
|
/**
|
|
7
|
-
* Provides arguments for the [`pageChange`](
|
|
7
|
+
* Provides arguments for the [`pageChange`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#pagechange) event.
|
|
8
8
|
*/
|
|
9
9
|
export interface PageChangeEvent {
|
|
10
10
|
/**
|
|
@@ -17,7 +17,7 @@ export interface PageChangeEvent {
|
|
|
17
17
|
take: number;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* Provides arguments for the [`dataStateChange`](
|
|
20
|
+
* Provides arguments for the [`dataStateChange`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#datastatechange) event ([more information and examples](https://www.telerik.com/kendo-angular-ui/components/treelist/data-binding/basics)).
|
|
21
21
|
*/
|
|
22
22
|
export interface DataStateChangeEvent {
|
|
23
23
|
/**
|
|
@@ -14,7 +14,7 @@ export interface TreeListDataResult {
|
|
|
14
14
|
*/
|
|
15
15
|
data: any[];
|
|
16
16
|
/**
|
|
17
|
-
* Represents the aggregated values for the group. An [`AggregateResult`](
|
|
17
|
+
* Represents the aggregated values for the group. An [`AggregateResult`](https://www.telerik.com/kendo-angular-ui/components/treelist/aggregates) instance.
|
|
18
18
|
*/
|
|
19
19
|
aggregates?: any;
|
|
20
20
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { DataItem } from './data-item.interface';
|
|
6
6
|
/**
|
|
7
|
-
* Represents an item rendered by the TreeList. Use this type for items such as [`DataItem`](
|
|
7
|
+
* Represents an item rendered by the TreeList. Use this type for items such as [`DataItem`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/dataitem). ([See example](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#trackby)).
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
10
|
export type TreeListItem = DataItem;
|
|
@@ -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 configuration for the [`reorderColumn`](
|
|
6
|
+
* Provides additional configuration for the [`reorderColumn`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#reordercolumn) method. Use this interface to control the position of the reordered column.
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
9
|
export interface ColumnReorderConfig {
|
|
@@ -6,7 +6,7 @@ import { EditService } from './edit.service';
|
|
|
6
6
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
* Represents the command for adding a new item to the TreeList. Apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent. When the user clicks the toolbar button associated with the directive, the [`add`](
|
|
9
|
+
* Represents the command for adding a new item to the TreeList. Apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent. When the user clicks the toolbar button associated with the directive, the [`add`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#add) event is triggered.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```html
|
|
@@ -8,9 +8,9 @@ import { EditService } from './edit.service';
|
|
|
8
8
|
import { BaseCommandDirective } from './base-command.directive';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
* Represents the command for adding a new item to the TreeList. Apply this directive to any `button` element inside a [`ToolbarTemplate`](
|
|
11
|
+
* Represents the command for adding a new item to the TreeList. Apply this directive to any `button` element inside a [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/toolbar/toolbar-template) or inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
|
|
12
12
|
*
|
|
13
|
-
* When the user clicks a button with this directive, the [`add`](
|
|
13
|
+
* When the user clicks a button with this directive, the [`add`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#add) event is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/custom-editors)).
|
|
14
14
|
*
|
|
15
15
|
* The button with `kendoTreeListAddCommand` is automatically hidden when the row is in edit mode.
|
|
16
16
|
*
|
|
@@ -8,9 +8,9 @@ import { EditService } from './edit.service';
|
|
|
8
8
|
import { BaseCommandDirective } from './base-command.directive';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
* Represents the `cancel` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](
|
|
11
|
+
* Represents the `cancel` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
|
|
12
12
|
*
|
|
13
|
-
* When the user clicks a button with this directive, the [`cancel`](
|
|
13
|
+
* When the user clicks a button with this directive, the [`cancel`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#cancel) event is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/custom-editors)).
|
|
14
14
|
*
|
|
15
15
|
* The button with `kendoTreeListCancelCommand` is automatically hidden when the row is not in edit mode. The directive takes the `cellContext` from the cell template as input.
|
|
16
16
|
*
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { SaveEvent } from "./save-event-args.interface";
|
|
6
6
|
/**
|
|
7
|
-
* Provides arguments for the `cancel` event. Use this type to access the event data when cancelling editing in the TreeList. [See example](
|
|
7
|
+
* Provides arguments for the `cancel` event. Use this type to access the event data when cancelling editing in the TreeList. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/reactive-forms#cancelling-editing).
|
|
8
8
|
*/
|
|
9
9
|
export type CancelEvent = SaveEvent;
|
|
@@ -8,9 +8,9 @@ import { EditService } from './edit.service';
|
|
|
8
8
|
import { BaseCommandDirective } from './base-command.directive';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
* Represents the `edit` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](
|
|
11
|
+
* Represents the `edit` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
|
|
12
12
|
*
|
|
13
|
-
* When the user clicks a button with this directive, the [`edit`](
|
|
13
|
+
* When the user clicks a button with this directive, the [`edit`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#edit) event is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/custom-editors)).
|
|
14
14
|
*
|
|
15
15
|
* The button with `kendoTreeListEditCommand` is automatically hidden when the row is in edit mode. The directive takes the `cellContext` from the cell template as input.
|
|
16
16
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import type { TreeListComponent } from "../treelist.component";
|
|
6
6
|
/**
|
|
7
|
-
* Provides arguments for the [`edit`](
|
|
7
|
+
* Provides arguments for the [`edit`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#edit) event. Use this interface to access the data item, its state, and the TreeList component instance when editing a row.
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
10
|
export interface EditEvent {
|