@progress/kendo-angular-treelist 19.1.2-develop.4 → 19.1.2-develop.5
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/base-binding.directive.d.ts +6 -3
- package/binding-directives/flat-binding.directive.d.ts +7 -8
- package/binding-directives/hierarchy-binding.directive.d.ts +13 -6
- package/column-menu/column-chooser.component.d.ts +5 -8
- package/column-menu/column-locked-change-event.d.ts +4 -2
- package/column-menu/column-menu-autosize-all.component.d.ts +3 -5
- package/column-menu/column-menu-autosize.component.d.ts +5 -7
- package/column-menu/column-menu-chooser.component.d.ts +15 -6
- package/column-menu/column-menu-expandable-item.interface.d.ts +4 -3
- package/column-menu/column-menu-filter.component.d.ts +14 -4
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/column-menu/column-menu-item-content-template.directive.d.ts +3 -5
- package/column-menu/column-menu-item.component.d.ts +7 -10
- package/column-menu/column-menu-item.directive.d.ts +23 -1
- package/column-menu/column-menu-lock.component.d.ts +14 -4
- package/column-menu/column-menu-settings.interface.d.ts +5 -5
- package/column-menu/column-menu-sort.component.d.ts +12 -2
- package/column-menu/column-menu-template.directive.d.ts +3 -5
- package/column-menu/column-menu.component.d.ts +14 -2
- package/column-menu/column-menu.service.d.ts +1 -2
- package/column-menu/column-visibility-change-event.d.ts +2 -2
- package/column-resizing/column-resize.interface.d.ts +3 -2
- package/columns/checkbox-column.component.d.ts +16 -4
- package/columns/column-base.d.ts +15 -28
- package/columns/column-group.component.d.ts +1 -2
- package/columns/column.component.d.ts +22 -18
- package/columns/command-column.component.d.ts +3 -4
- package/columns/rowreorder-column.component.d.ts +9 -1
- package/columns/sort-settings.d.ts +5 -23
- package/columns/span-column.component.d.ts +11 -16
- package/common/cell-click-event-args.interface.d.ts +4 -3
- package/common/create-form-group.d.ts +2 -1
- package/common/pager-settings.d.ts +7 -8
- package/common/remove-confirmation.d.ts +1 -1
- package/common/single-popup.service.d.ts +7 -6
- package/data/change-event-args.interface.d.ts +6 -7
- package/data/data-item.interface.d.ts +5 -5
- package/data/data.collection.d.ts +4 -3
- package/data/treelist-item.interface.d.ts +2 -2
- package/directives.d.ts +10 -9
- package/dragdrop/column-reorder-config.d.ts +3 -2
- package/dragdrop/column-reorder-event.d.ts +4 -6
- package/editing/add-command-tool.directive.d.ts +9 -12
- package/editing/add-command.directive.d.ts +5 -9
- package/editing/add-event-args.interface.d.ts +3 -2
- package/editing/cancel-command.directive.d.ts +5 -8
- package/editing/cancel-event-args.interface.d.ts +1 -1
- package/editing/cell-close-event.d.ts +5 -5
- package/editing/edit-command.directive.d.ts +5 -9
- package/editing/edit-event-args.interface.d.ts +4 -3
- package/editing/edit-template.directive.d.ts +2 -4
- package/editing/remove-command.directive.d.ts +5 -8
- package/editing/remove-event-args.interface.d.ts +3 -2
- package/editing/save-command.directive.d.ts +5 -8
- package/editing/save-event-args.interface.d.ts +4 -3
- package/editing-directives/create-form-group-args.interface.d.ts +1 -1
- package/editing-directives/edit-service.interface.d.ts +13 -5
- package/editing-directives/editing-directive-base.d.ts +3 -3
- package/editing-directives/in-cell-editing.directive.d.ts +12 -2
- package/editing-directives/reactive-editing.directive.d.ts +12 -2
- package/editing-directives/template-editing.directive.d.ts +13 -3
- package/esm2022/binding-directives/base-binding.directive.mjs +6 -3
- package/esm2022/binding-directives/flat-binding.directive.mjs +7 -8
- package/esm2022/binding-directives/hierarchy-binding.directive.mjs +13 -6
- package/esm2022/column-menu/column-chooser.component.mjs +5 -8
- package/esm2022/column-menu/column-locked-change-event.mjs +4 -2
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +3 -5
- package/esm2022/column-menu/column-menu-autosize.component.mjs +5 -7
- package/esm2022/column-menu/column-menu-chooser.component.mjs +15 -6
- package/esm2022/column-menu/column-menu-filter.component.mjs +14 -4
- package/esm2022/column-menu/column-menu-item-base.mjs +1 -1
- package/esm2022/column-menu/column-menu-item-content-template.directive.mjs +3 -5
- package/esm2022/column-menu/column-menu-item.component.mjs +7 -10
- package/esm2022/column-menu/column-menu-item.directive.mjs +23 -1
- package/esm2022/column-menu/column-menu-lock.component.mjs +14 -4
- package/esm2022/column-menu/column-menu-sort.component.mjs +12 -2
- package/esm2022/column-menu/column-menu-template.directive.mjs +3 -5
- package/esm2022/column-menu/column-menu.component.mjs +14 -2
- package/esm2022/column-menu/column-menu.service.mjs +1 -2
- package/esm2022/column-menu/column-visibility-change-event.mjs +2 -2
- package/esm2022/columns/checkbox-column.component.mjs +16 -4
- package/esm2022/columns/column-base.mjs +15 -28
- package/esm2022/columns/column-group.component.mjs +1 -2
- package/esm2022/columns/column.component.mjs +22 -18
- package/esm2022/columns/command-column.component.mjs +3 -4
- package/esm2022/columns/rowreorder-column.component.mjs +9 -1
- package/esm2022/columns/span-column.component.mjs +11 -16
- package/esm2022/common/single-popup.service.mjs +7 -6
- package/esm2022/directives.mjs +10 -9
- package/esm2022/dragdrop/column-reorder-event.mjs +4 -6
- package/esm2022/editing/add-command-tool.directive.mjs +9 -12
- package/esm2022/editing/add-command.directive.mjs +5 -9
- package/esm2022/editing/cancel-command.directive.mjs +5 -8
- package/esm2022/editing/cell-close-event.mjs +5 -5
- package/esm2022/editing/edit-command.directive.mjs +5 -9
- package/esm2022/editing/edit-template.directive.mjs +2 -4
- package/esm2022/editing/remove-command.directive.mjs +5 -8
- package/esm2022/editing/save-command.directive.mjs +5 -8
- package/esm2022/editing-directives/editing-directive-base.mjs +3 -3
- package/esm2022/editing-directives/in-cell-editing.directive.mjs +12 -2
- package/esm2022/editing-directives/reactive-editing.directive.mjs +12 -2
- package/esm2022/editing-directives/template-editing.directive.mjs +13 -3
- package/esm2022/excel/excel-command-tool.directive.mjs +9 -11
- package/esm2022/excel/excel-command.directive.mjs +3 -7
- package/esm2022/excel/excel.component.mjs +22 -16
- package/esm2022/excel/excel.module.mjs +2 -2
- package/esm2022/expand-state/expand-event.mjs +3 -3
- package/esm2022/expand-state/expandable.directive.mjs +8 -5
- package/esm2022/filtering/base-filter-cell.component.mjs +3 -1
- package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +1 -0
- package/esm2022/filtering/cell/date-filter-cell.component.mjs +5 -3
- package/esm2022/filtering/cell/filter-cell-operators.component.mjs +2 -1
- package/esm2022/filtering/cell/filter-cell-template.directive.mjs +18 -3
- package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +7 -5
- package/esm2022/filtering/cell/string-filter-cell.component.mjs +7 -7
- package/esm2022/filtering/date-filter.component.mjs +8 -3
- package/esm2022/filtering/filter.service.mjs +2 -4
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +3 -3
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +6 -3
- package/esm2022/filtering/menu/filter-menu-template.directive.mjs +18 -2
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +9 -5
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +6 -4
- package/esm2022/filtering/numeric-filter.component.mjs +3 -3
- package/esm2022/filtering/operators/after-eq-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/after-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/before-eq-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/before-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/contains-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/ends-with-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/eq-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/filter-operator.base.mjs +1 -1
- package/esm2022/filtering/operators/gt-filter-operator.component.mjs +28 -2
- package/esm2022/filtering/operators/gte-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/is-empty-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/is-not-empty-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/is-not-null-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/isnull-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/lt-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/lte-filter-operator.component.mjs +28 -2
- package/esm2022/filtering/operators/neq-filter-operator.component.mjs +76 -1
- package/esm2022/filtering/operators/not-contains-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/operators/starts-with-filter-operator.component.mjs +28 -1
- package/esm2022/filtering/string-filter.component.mjs +1 -1
- package/esm2022/localization/custom-messages.component.mjs +11 -2
- package/esm2022/navigation/focusable.directive.mjs +4 -4
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command-tool.directive.mjs +11 -9
- package/esm2022/pdf/pdf-command.directive.mjs +2 -2
- package/esm2022/pdf/pdf-export-event.mjs +3 -1
- package/esm2022/pdf/pdf-margin.component.mjs +10 -5
- package/esm2022/pdf/pdf-template.directive.mjs +2 -2
- package/esm2022/pdf/pdf.component.mjs +12 -2
- package/esm2022/pdf/pdf.module.mjs +6 -6
- package/esm2022/rendering/cell-template.directive.mjs +8 -9
- package/esm2022/rendering/common/spacer.component.mjs +16 -5
- package/esm2022/rendering/footer-template.directive.mjs +10 -12
- package/esm2022/rendering/header/header-template.directive.mjs +4 -4
- package/esm2022/rendering/no-records-template.directive.mjs +2 -2
- package/esm2022/rendering/toolbar/toolbar-focusable.directive.mjs +13 -2
- package/esm2022/rendering/toolbar/toolbar-template.directive.mjs +4 -6
- package/esm2022/selection/selectable.directive.mjs +12 -0
- package/esm2022/selection/selection-change-event.mjs +1 -1
- package/esm2022/treelist.component.mjs +145 -109
- package/esm2022/treelist.module.mjs +6 -8
- package/esm2022/utils.mjs +1 -1
- package/excel/excel-command-tool.directive.d.ts +9 -11
- package/excel/excel-command.directive.d.ts +3 -7
- package/excel/excel-export-data.interface.d.ts +4 -4
- package/excel/excel.component.d.ts +22 -16
- package/excel/excel.module.d.ts +2 -2
- package/expand-state/expand-event.d.ts +3 -3
- package/expand-state/expandable-tree-component.d.ts +4 -6
- package/expand-state/expandable.directive.d.ts +8 -5
- package/fesm2022/progress-kendo-angular-treelist.mjs +1470 -574
- package/filtering/base-filter-cell.component.d.ts +3 -1
- package/filtering/cell/boolean-filter-cell.component.d.ts +1 -0
- package/filtering/cell/date-filter-cell.component.d.ts +5 -3
- package/filtering/cell/filter-cell-operators.component.d.ts +2 -1
- package/filtering/cell/filter-cell-template.directive.d.ts +18 -3
- package/filtering/cell/numeric-filter-cell.component.d.ts +7 -5
- package/filtering/cell/string-filter-cell.component.d.ts +7 -7
- package/filtering/date-filter.component.d.ts +8 -3
- package/filtering/filter.service.d.ts +2 -4
- package/filtering/filterable.d.ts +3 -2
- package/filtering/menu/boolean-filter-menu.component.d.ts +3 -3
- package/filtering/menu/date-filter-menu.component.d.ts +6 -3
- package/filtering/menu/filter-menu-template.directive.d.ts +18 -2
- package/filtering/menu/numeric-filter-menu.component.d.ts +9 -5
- package/filtering/menu/string-filter-menu.component.d.ts +6 -4
- package/filtering/numeric-filter.component.d.ts +3 -3
- package/filtering/operators/after-eq-filter-operator.component.d.ts +27 -1
- package/filtering/operators/after-filter-operator.component.d.ts +27 -1
- package/filtering/operators/before-eq-filter-operator.component.d.ts +27 -1
- package/filtering/operators/before-filter-operator.component.d.ts +27 -1
- package/filtering/operators/contains-filter-operator.component.d.ts +28 -1
- package/filtering/operators/ends-with-filter-operator.component.d.ts +28 -1
- package/filtering/operators/eq-filter-operator.component.d.ts +76 -1
- package/filtering/operators/filter-operator.base.d.ts +1 -1
- package/filtering/operators/gt-filter-operator.component.d.ts +30 -0
- package/filtering/operators/gte-filter-operator.component.d.ts +27 -1
- package/filtering/operators/is-empty-filter-operator.component.d.ts +28 -1
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +28 -1
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +76 -1
- package/filtering/operators/isnull-filter-operator.component.d.ts +76 -1
- package/filtering/operators/lt-filter-operator.component.d.ts +27 -1
- package/filtering/operators/lte-filter-operator.component.d.ts +30 -0
- package/filtering/operators/neq-filter-operator.component.d.ts +76 -1
- package/filtering/operators/not-contains-filter-operator.component.d.ts +28 -1
- package/filtering/operators/starts-with-filter-operator.component.d.ts +28 -1
- package/filtering/string-filter.component.d.ts +1 -1
- package/localization/custom-messages.component.d.ts +11 -2
- package/navigation/focusable-element.interface.d.ts +7 -11
- package/navigation/focusable.directive.d.ts +4 -4
- package/navigation/navigation-cell.interface.d.ts +5 -5
- package/navigation/navigation-row.interface.d.ts +4 -5
- package/package.json +18 -18
- package/pdf/pdf-command-tool.directive.d.ts +11 -9
- package/pdf/pdf-command.directive.d.ts +2 -2
- package/pdf/pdf-export-event.d.ts +3 -1
- package/pdf/pdf-margin.component.d.ts +10 -5
- package/pdf/pdf-margin.interface.d.ts +1 -1
- package/pdf/pdf-template.directive.d.ts +2 -2
- package/pdf/pdf.component.d.ts +12 -2
- package/pdf/pdf.module.d.ts +6 -6
- package/rendering/cell-template.directive.d.ts +8 -9
- package/rendering/common/row-class.d.ts +4 -7
- package/rendering/common/spacer.component.d.ts +16 -5
- package/rendering/footer-template.directive.d.ts +10 -12
- package/rendering/header/header-template.directive.d.ts +4 -4
- package/rendering/no-records-template.directive.d.ts +2 -2
- package/rendering/toolbar/toolbar-focusable.directive.d.ts +13 -2
- package/rendering/toolbar/toolbar-template.directive.d.ts +4 -6
- package/row-reordering/types.d.ts +4 -1
- package/schematics/ngAdd/index.js +3 -3
- package/scrolling/content-scroll-event.d.ts +2 -0
- package/scrolling/scroll-bottom-event.d.ts +2 -0
- package/scrolling/scroll-request.service.d.ts +3 -3
- package/scrolling/scrollmode.d.ts +3 -3
- package/selection/is-selected.d.ts +5 -4
- package/selection/selectable-settings.d.ts +6 -6
- package/selection/selectable.directive.d.ts +12 -0
- package/selection/selection-change-event.d.ts +2 -2
- package/treelist.component.d.ts +143 -107
- package/treelist.module.d.ts +6 -8
@@ -6,8 +6,35 @@ import { FilterOperatorBase } from './filter-operator.base';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
/**
|
9
|
-
* Represents the `DoesNotContain` (**Does not contain**) filter operator
|
9
|
+
* Represents the `DoesNotContain` (**Does not contain**) filter operator for the TreeList.
|
10
|
+
* Use this operator to filter values that do not contain a specific substring.
|
11
|
+
* [See example](slug:filtering_treelist#toc-using-the-built-in-directives).
|
10
12
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
|
+
*
|
14
|
+
* @example
|
15
|
+
* ```html Filter Cell
|
16
|
+
* <kendo-treelist-column field="name" title="Name">
|
17
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
18
|
+
* <kendo-treelist-string-filter-cell
|
19
|
+
* [column]="column"
|
20
|
+
* [filter]="filter">
|
21
|
+
* <kendo-treelist-filter-not-contains-operator></kendo-treelist-filter-not-contains-operator>
|
22
|
+
* </kendo-treelist-string-filter-cell>
|
23
|
+
* </ng-template>
|
24
|
+
* </kendo-treelist-column>
|
25
|
+
* ```
|
26
|
+
* ```html Filter Menu
|
27
|
+
* <kendo-treelist-column field="name" title="Name">
|
28
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
29
|
+
* <kendo-treelist-string-filter-menu
|
30
|
+
* [column]="column"
|
31
|
+
* [filter]="filter"
|
32
|
+
* [filterService]="filterService">
|
33
|
+
* <kendo-treelist-filter-not-contains-operator></kendo-treelist-filter-not-contains-operator>
|
34
|
+
* </kendo-treelist-string-filter-menu>
|
35
|
+
* </ng-template>
|
36
|
+
* </kendo-treelist-column>
|
37
|
+
* ```
|
11
38
|
*/
|
12
39
|
export declare class DoesNotContainFilterOperatorComponent extends FilterOperatorBase {
|
13
40
|
constructor(localization: LocalizationService);
|
@@ -6,8 +6,35 @@ import { FilterOperatorBase } from './filter-operator.base';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
/**
|
9
|
-
* Represents the `StartsWith` (**Starts with**) filter operator
|
9
|
+
* Represents the `StartsWith` (**Starts with**) filter operator for the TreeList.
|
10
|
+
* Use this operator to filter values that start with a specific substring.
|
11
|
+
* [See example](slug:filtering_treelist#toc-using-the-built-in-directives).
|
10
12
|
* For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
|
13
|
+
*
|
14
|
+
* @example
|
15
|
+
* ```html Filter Cell
|
16
|
+
* <kendo-treelist-column field="name" title="Name">
|
17
|
+
* <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
|
18
|
+
* <kendo-treelist-string-filter-cell
|
19
|
+
* [column]="column"
|
20
|
+
* [filter]="filter">
|
21
|
+
* <kendo-treelist-filter-startswith-operator></kendo-treelist-filter-startswith-operator>
|
22
|
+
* </kendo-treelist-string-filter-cell>
|
23
|
+
* </ng-template>
|
24
|
+
* </kendo-treelist-column>
|
25
|
+
* ```
|
26
|
+
* ```html Filter Menu
|
27
|
+
* <kendo-treelist-column field="name" title="Name">
|
28
|
+
* <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
29
|
+
* <kendo-treelist-string-filter-menu
|
30
|
+
* [column]="column"
|
31
|
+
* [filter]="filter"
|
32
|
+
* [filterService]="filterService">
|
33
|
+
* <kendo-treelist-filter-startswith-operator></kendo-treelist-filter-startswith-operator>
|
34
|
+
* </kendo-treelist-string-filter-menu>
|
35
|
+
* </ng-template>
|
36
|
+
* </kendo-treelist-column>
|
37
|
+
* ```
|
11
38
|
*/
|
12
39
|
export declare class StartsWithFilterOperatorComponent extends FilterOperatorBase {
|
13
40
|
constructor(localization: LocalizationService);
|
@@ -10,7 +10,7 @@ import { FilterComponent } from './filter-component.interface';
|
|
10
10
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
/**
|
13
|
-
* Represents a base string filter component.
|
13
|
+
* Represents a base string filter component for the TreeList.
|
14
14
|
*/
|
15
15
|
export declare abstract class StringFilterComponent extends BaseFilterCellComponent implements FilterComponent {
|
16
16
|
protected localization: LocalizationService;
|
@@ -6,8 +6,17 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
6
|
import { Messages } from './messages';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
/**
|
9
|
-
*
|
10
|
-
*
|
9
|
+
* Overrides the default component messages with custom messages.
|
10
|
+
* [See example](slug:globalization_treelist#toc-custom-messages).
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* ```html
|
14
|
+
* <kendo-treelist>
|
15
|
+
* <kendo-treelist-messages
|
16
|
+
* noRecords="No records available">
|
17
|
+
* </kendo-treelist-messages>
|
18
|
+
* </kendo-treelist>
|
19
|
+
* ```
|
11
20
|
*/
|
12
21
|
export declare class CustomMessagesComponent extends Messages {
|
13
22
|
protected service: LocalizationService;
|
@@ -12,27 +12,23 @@ export interface FocusableElement {
|
|
12
12
|
focus(): void;
|
13
13
|
/**
|
14
14
|
* Includes or excludes the element from the tab sequence.
|
15
|
-
*
|
16
|
-
* @param active If true, the element should receive a tabIndex of 0 (or greater). If false, the tabIndex should be set to -1.
|
15
|
+
* @param active If `true`, the element receives a tabIndex of 0 (or greater). If `false`, the tabIndex is set to -1.
|
17
16
|
*/
|
18
17
|
toggle(active: boolean): void;
|
19
18
|
/**
|
20
|
-
* Returns true if the element can be focused
|
21
|
-
*
|
22
|
-
* @returns true if the element can be focused at the moment, false otherwise.
|
19
|
+
* Returns `true` if the element can be focused.
|
20
|
+
* @returns `true` if the element can be focused.
|
23
21
|
*/
|
24
22
|
canFocus(): boolean;
|
25
23
|
/**
|
26
|
-
*
|
24
|
+
* Returns `true` if the element currently has focus.
|
25
|
+
* @returns `true` if the element currently has focus.
|
27
26
|
*/
|
28
27
|
hasFocus(): boolean;
|
29
28
|
/**
|
30
|
-
* Returns true if the element can receive
|
31
|
-
*
|
32
|
-
* For example, if a cell contains a single button, the focus should be placed directly on it.
|
33
|
-
* This allows the user to activate the button directly with Enter.
|
29
|
+
* Returns `true` if the element can receive focus during cursor navigation.
|
34
30
|
*
|
35
|
-
*
|
31
|
+
* For example, if a cell contains a single button, the focus is placed directly on it. This allows the user to activate the button directly with Enter. Focus remains on the cell if it contains more than one navigable element.
|
36
32
|
*/
|
37
33
|
isNavigable(): boolean;
|
38
34
|
}
|
@@ -7,11 +7,11 @@ import { FocusGroup } from './focus-group';
|
|
7
7
|
import { FocusableElement } from './focusable-element.interface';
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
/**
|
10
|
-
*
|
11
|
-
* [focus in a navigable TreeList]({% slug keyboard_navigation_treelist %}).
|
10
|
+
* Represents a directive that controls how focusable cell elements receive focus in a [navigable TreeList]({% slug keyboard_navigation_treelist %}).
|
12
11
|
*
|
13
|
-
*
|
12
|
+
* Use this directive to manage focus behavior for cell elements. Pass the `cellContext` from the cell template as input.
|
14
13
|
*
|
14
|
+
* @example
|
15
15
|
* ```html
|
16
16
|
* <kendo-treelist-column>
|
17
17
|
* <ng-template kendoTreeListCellTemplate let-cellContext="cellContext">
|
@@ -25,7 +25,7 @@ export declare class FocusableDirective implements AfterViewInit, FocusableEleme
|
|
25
25
|
private renderer;
|
26
26
|
private group;
|
27
27
|
/**
|
28
|
-
*
|
28
|
+
* Provides the cell context from the template.
|
29
29
|
*/
|
30
30
|
cellContext: any;
|
31
31
|
/**
|
@@ -4,7 +4,7 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { FocusGroup } from './focus-group';
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Contains the metadata for a focusable TreeList cell.
|
8
8
|
* Focusable TreeList cells include headers, group headers and footers, and data cells.
|
9
9
|
*/
|
10
10
|
export interface NavigationCell {
|
@@ -21,15 +21,15 @@ export interface NavigationCell {
|
|
21
21
|
*/
|
22
22
|
colIndex: number;
|
23
23
|
/**
|
24
|
-
* The logical index of the row
|
24
|
+
* The logical index of the row that contains this cell. The row index is absolute and does not change with paging. Header rows are included, starting at index 0.
|
25
25
|
*/
|
26
26
|
rowIndex: number;
|
27
27
|
/**
|
28
|
-
* The column span for this cell
|
28
|
+
* The column span for this cell, if set.
|
29
29
|
*/
|
30
30
|
colSpan?: number;
|
31
31
|
/**
|
32
|
-
* The row span for this cell
|
32
|
+
* The row span for this cell, if set.
|
33
33
|
*/
|
34
34
|
rowSpan?: number;
|
35
35
|
/**
|
@@ -49,7 +49,7 @@ export interface NavigationCell {
|
|
49
49
|
*/
|
50
50
|
focusGroup?: FocusGroup;
|
51
51
|
/**
|
52
|
-
* A flag
|
52
|
+
* A flag that indicates if the cell is expandable.
|
53
53
|
*/
|
54
54
|
expandable?: boolean;
|
55
55
|
/**
|
@@ -4,8 +4,7 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { NavigationCell } from './navigation-cell.interface';
|
6
6
|
/**
|
7
|
-
*
|
8
|
-
* headers, group headers and footers, and data rows.
|
7
|
+
* Contains the metadata for a focusable TreeList row. Focusable rows include headers, group headers and footers, and data rows.
|
9
8
|
*/
|
10
9
|
export interface NavigationRow {
|
11
10
|
/**
|
@@ -13,7 +12,7 @@ export interface NavigationRow {
|
|
13
12
|
*/
|
14
13
|
uid: number;
|
15
14
|
/**
|
16
|
-
* The logical index of the focusable row. The row
|
15
|
+
* The logical index of the focusable row. The row index is absolute and does not change with paging. Header rows are included, starting at index 0.
|
17
16
|
*/
|
18
17
|
index: number;
|
19
18
|
/**
|
@@ -21,7 +20,7 @@ export interface NavigationRow {
|
|
21
20
|
*/
|
22
21
|
dataRowIndex: number;
|
23
22
|
/**
|
24
|
-
* A flag
|
23
|
+
* A flag that indicates if this is a new row.
|
25
24
|
*/
|
26
25
|
isNew: boolean;
|
27
26
|
/**
|
@@ -29,7 +28,7 @@ export interface NavigationRow {
|
|
29
28
|
*/
|
30
29
|
dataItem: any;
|
31
30
|
/**
|
32
|
-
* An array of focusable cells
|
31
|
+
* An array of focusable cells associated with this row.
|
33
32
|
*/
|
34
33
|
cells: NavigationCell[];
|
35
34
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@progress/kendo-angular-treelist",
|
3
|
-
"version": "19.1.2-develop.
|
3
|
+
"version": "19.1.2-develop.5",
|
4
4
|
"description": "Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
6
6
|
"author": "Progress",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"package": {
|
25
25
|
"productName": "Kendo UI for Angular",
|
26
26
|
"productCode": "KENDOUIANGULAR",
|
27
|
-
"publishDate":
|
27
|
+
"publishDate": 1750431037,
|
28
28
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
29
29
|
}
|
30
30
|
},
|
@@ -37,26 +37,26 @@
|
|
37
37
|
"@progress/kendo-data-query": "^1.0.0",
|
38
38
|
"@progress/kendo-drawing": "^1.21.0",
|
39
39
|
"@progress/kendo-licensing": "^1.5.0",
|
40
|
-
"@progress/kendo-angular-buttons": "19.1.2-develop.
|
41
|
-
"@progress/kendo-angular-common": "19.1.2-develop.
|
42
|
-
"@progress/kendo-angular-dateinputs": "19.1.2-develop.
|
43
|
-
"@progress/kendo-angular-dropdowns": "19.1.2-develop.
|
44
|
-
"@progress/kendo-angular-excel-export": "19.1.2-develop.
|
45
|
-
"@progress/kendo-angular-icons": "19.1.2-develop.
|
46
|
-
"@progress/kendo-angular-inputs": "19.1.2-develop.
|
47
|
-
"@progress/kendo-angular-intl": "19.1.2-develop.
|
48
|
-
"@progress/kendo-angular-l10n": "19.1.2-develop.
|
49
|
-
"@progress/kendo-angular-label": "19.1.2-develop.
|
50
|
-
"@progress/kendo-angular-pager": "19.1.2-develop.
|
51
|
-
"@progress/kendo-angular-pdf-export": "19.1.2-develop.
|
52
|
-
"@progress/kendo-angular-popup": "19.1.2-develop.
|
53
|
-
"@progress/kendo-angular-toolbar": "19.1.2-develop.
|
54
|
-
"@progress/kendo-angular-utils": "19.1.2-develop.
|
40
|
+
"@progress/kendo-angular-buttons": "19.1.2-develop.5",
|
41
|
+
"@progress/kendo-angular-common": "19.1.2-develop.5",
|
42
|
+
"@progress/kendo-angular-dateinputs": "19.1.2-develop.5",
|
43
|
+
"@progress/kendo-angular-dropdowns": "19.1.2-develop.5",
|
44
|
+
"@progress/kendo-angular-excel-export": "19.1.2-develop.5",
|
45
|
+
"@progress/kendo-angular-icons": "19.1.2-develop.5",
|
46
|
+
"@progress/kendo-angular-inputs": "19.1.2-develop.5",
|
47
|
+
"@progress/kendo-angular-intl": "19.1.2-develop.5",
|
48
|
+
"@progress/kendo-angular-l10n": "19.1.2-develop.5",
|
49
|
+
"@progress/kendo-angular-label": "19.1.2-develop.5",
|
50
|
+
"@progress/kendo-angular-pager": "19.1.2-develop.5",
|
51
|
+
"@progress/kendo-angular-pdf-export": "19.1.2-develop.5",
|
52
|
+
"@progress/kendo-angular-popup": "19.1.2-develop.5",
|
53
|
+
"@progress/kendo-angular-toolbar": "19.1.2-develop.5",
|
54
|
+
"@progress/kendo-angular-utils": "19.1.2-develop.5",
|
55
55
|
"rxjs": "^6.5.3 || ^7.0.0"
|
56
56
|
},
|
57
57
|
"dependencies": {
|
58
58
|
"tslib": "^2.3.1",
|
59
|
-
"@progress/kendo-angular-schematics": "19.1.2-develop.
|
59
|
+
"@progress/kendo-angular-schematics": "19.1.2-develop.5",
|
60
60
|
"@progress/kendo-common": "^1.0.1",
|
61
61
|
"@progress/kendo-file-saver": "^1.0.0"
|
62
62
|
},
|
@@ -7,23 +7,25 @@ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
/**
|
9
9
|
* Represents the `export-to-PDF` toolbar tool of the TreeList.
|
10
|
-
*
|
11
|
-
* ToolbarComponent
|
10
|
+
* Apply this directive to any `kendo-toolbar-button` element inside a
|
11
|
+
* ToolbarComponent.
|
12
12
|
*
|
13
|
-
* When
|
14
|
-
* [pdfExport]({% slug api_treelist_treelistcomponent %}#toc-pdfexport) event
|
13
|
+
* When you click the toolbar button that contains the directive, the
|
14
|
+
* [`pdfExport`]({% slug api_treelist_treelistcomponent %}#toc-pdfexport) event
|
15
15
|
* fires ([see example]({% slug pdfexport_treelist %})).
|
16
16
|
*
|
17
17
|
* @example
|
18
|
-
* ```html
|
18
|
+
* ```html
|
19
19
|
* <kendo-treelist>
|
20
|
-
*
|
20
|
+
* <kendo-toolbar>
|
21
21
|
* <kendo-toolbar-button text="PDF Export" kendoTreeListPDFTool></kendo-toolbar-button>
|
22
|
-
*
|
23
|
-
*
|
24
|
-
*
|
22
|
+
* </kendo-toolbar>
|
23
|
+
* <kendo-treelist-pdf fileName="TreeList.pdf">
|
24
|
+
* </kendo-treelist-pdf>
|
25
25
|
* </kendo-treelist>
|
26
26
|
* ```
|
27
|
+
* @remarks
|
28
|
+
* Applied to: {@link ToolBarButtonComponent}
|
27
29
|
*/
|
28
30
|
export declare class PDFCommandToolbarDirective {
|
29
31
|
private pdfService;
|
@@ -9,9 +9,9 @@ import { PDFService } from './pdf.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
/**
|
11
11
|
* Represents the `export-to-PDF` command of the TreeList.
|
12
|
-
*
|
12
|
+
* Apply this directive to any `button` element inside a
|
13
13
|
* [`ToolbarTemplate`](slug:toolbartemplate_treelist).
|
14
|
-
* When
|
14
|
+
* When you click a button that contains the directive, the
|
15
15
|
* [`pdfExport`]({% slug api_treelist_treelistcomponent %}#toc-pdfexport) event
|
16
16
|
* fires ([see example]({% slug pdfexport_treelist %})).
|
17
17
|
*
|
@@ -4,7 +4,9 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { PreventableEvent } from '../common/preventable-event';
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Provides the arguments for the `pdfExport` event.
|
8
|
+
*
|
9
|
+
* Use this event to customize or prevent the PDF export process.
|
8
10
|
*/
|
9
11
|
export declare class PDFExportEvent extends PreventableEvent {
|
10
12
|
/**
|
@@ -6,12 +6,17 @@ import { PDFExportMarginComponent } from '@progress/kendo-angular-pdf-export';
|
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
/**
|
8
8
|
* Represents the Kendo UI PDFMargin component for Angular.
|
9
|
-
* The supported units are
|
10
|
-
* `"mm"`
|
11
|
-
* `"cm"`
|
12
|
-
* `"in"`
|
13
|
-
* `"pt"` (default).
|
9
|
+
* The supported units are `"mm"`, `"cm"`, `"in"`, and `"pt"` (default).
|
14
10
|
* Numbers are considered to be points (`"pt"`).
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* ```html
|
14
|
+
* <kendo-treelist>
|
15
|
+
* <kendo-treelist-pdf [allPages]="true" [delay]="100">
|
16
|
+
* <kendo-treelist-pdf-margin top="1cm" bottom="1cm" left="1cm" right="1cm"></kendo-treelist-pdf-margin>
|
17
|
+
* </kendo-treelist-pdf>
|
18
|
+
* </kendo-treelist>
|
19
|
+
* ```
|
15
20
|
*/
|
16
21
|
export declare class PDFMarginComponent extends PDFExportMarginComponent {
|
17
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<PDFMarginComponent, never>;
|
@@ -4,6 +4,6 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { pdf } from '@progress/kendo-drawing';
|
6
6
|
/**
|
7
|
-
* Specifies the margins of the page
|
7
|
+
* Specifies the margins of the PDF page. Accepts numbers or strings with units. [See example](slug:pdfexport_grid).
|
8
8
|
*/
|
9
9
|
export type PDFMargin = pdf.PageMargin;
|
@@ -6,8 +6,8 @@ import { TemplateRef } from '@angular/core';
|
|
6
6
|
import { PDFExportTemplateDirective } from '@progress/kendo-angular-pdf-export';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
/**
|
9
|
-
* Represents the PDF page template of the TreeList
|
10
|
-
* nest an `<ng-template>` tag with the `kendoTreeListPDFTemplate` directive inside `<kendo-treelist-pdf>`.
|
9
|
+
* Represents the PDF page template of the TreeList. Use this directive to customize the PDF pages.
|
10
|
+
* To define a page template, nest an `<ng-template>` tag with the `kendoTreeListPDFTemplate` directive inside `<kendo-treelist-pdf>`.
|
11
11
|
*
|
12
12
|
* The template context provides the following fields:
|
13
13
|
* - `pageNumber`—Defines PDF page number.
|
package/pdf/pdf.component.d.ts
CHANGED
@@ -13,14 +13,24 @@ import { DrawOptions } from '@progress/kendo-drawing';
|
|
13
13
|
import { PDFExportComponent } from '@progress/kendo-angular-pdf-export';
|
14
14
|
import * as i0 from "@angular/core";
|
15
15
|
/**
|
16
|
-
* Configures the settings for
|
16
|
+
* Configures the settings for exporting TreeList to PDF ([see example]({% slug pdfexport_treelist %})).
|
17
|
+
*
|
18
|
+
* @example
|
19
|
+
* ```html
|
20
|
+
* <kendo-treelist>
|
21
|
+
* <kendo-treelist-pdf [allPages]="true" [fileName]="'export.pdf'"></kendo-treelist-pdf>
|
22
|
+
* </kendo-treelist>
|
23
|
+
* ```
|
24
|
+
*
|
25
|
+
* @remarks
|
26
|
+
* Supported children components are: {@link PDFMarginComponent}.
|
17
27
|
*/
|
18
28
|
export declare class PDFComponent extends PDFExportComponent implements OnDestroy {
|
19
29
|
protected pdfService: PDFService;
|
20
30
|
protected suspendService: SuspendService;
|
21
31
|
protected ngZone: NgZone;
|
22
32
|
/**
|
23
|
-
*
|
33
|
+
* Specifies if the export includes all TreeList pages, starting from the first one.
|
24
34
|
*/
|
25
35
|
allPages: boolean;
|
26
36
|
columns: QueryList<ColumnBase>;
|
package/pdf/pdf.module.d.ts
CHANGED
@@ -10,8 +10,8 @@ import * as i4 from "./pdf-template.directive";
|
|
10
10
|
import * as i5 from "./pdf-command-tool.directive";
|
11
11
|
import * as i6 from "@progress/kendo-angular-icons";
|
12
12
|
/**
|
13
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
14
|
-
*
|
13
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the TreeList PDF component.
|
14
|
+
* Use this module to enable PDF export features of the TreeList inside NgModule-based Angular application.
|
15
15
|
*
|
16
16
|
* @example
|
17
17
|
*
|
@@ -21,10 +21,10 @@ import * as i6 from "@progress/kendo-angular-icons";
|
|
21
21
|
* import { TreeListModule, PDFModule } from '@progress/kendo-angular-treelist';
|
22
22
|
* import { AppComponent } from './app.component';
|
23
23
|
*
|
24
|
-
*
|
25
|
-
*
|
26
|
-
*
|
27
|
-
*
|
24
|
+
* @NgModule({
|
25
|
+
* declarations: [AppComponent],
|
26
|
+
* imports: [BrowserModule, TreeListModule, PDFModule],
|
27
|
+
* bootstrap: [AppComponent]
|
28
28
|
* })
|
29
29
|
* export class AppModule {}
|
30
30
|
* ```
|
@@ -6,19 +6,18 @@ import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
/**
|
8
8
|
* Represents the column cell template of the TreeList ([more information and example]({% slug templates_columns_treelist %}#toc-cell-template)).
|
9
|
-
*
|
10
|
-
* with the `kendoTreeListCellTemplate` directive inside a `<kendo-treelist-column>` tag.
|
9
|
+
* Use this directive to customize the content of the cells. To define the cell template, nest an `<ng-template>` tag with the `kendoTreeListCellTemplate` directive inside a `<kendo-treelist-column>` tag.
|
11
10
|
*
|
12
|
-
* The template context is set to the current data item and the following
|
13
|
-
* - `columnIndex`—The current column index. Use
|
14
|
-
* - `column`—The current column instance. Use
|
15
|
-
* - `dataItem`—The current data item. Represents the default context
|
16
|
-
* - `cellContext`—An object
|
11
|
+
* The template context is set to the current data item and provides the following fields:
|
12
|
+
* - `columnIndex`—The current column index. Use as an alias for a template variable with `let-columnIndex="columnIndex"`.
|
13
|
+
* - `column`—The current column instance. Use as an alias for a template variable with `let-column="column"`.
|
14
|
+
* - `dataItem`—The current data item. Represents the default context for any template variable using `let-x` syntax, for example, `let-dataItem`.
|
15
|
+
* - `cellContext`—An object for passing context information to built-in directives.
|
17
16
|
* - `hasChildren`—Specifies if the item has children.
|
18
17
|
* - `isExpanded`—Specifies if the item is expanded.
|
19
18
|
* - `level`—The hierarchy level of the item.
|
20
19
|
* - `loading`—Specifies if the item children are currently loading.
|
21
|
-
* - `rowIndex`—The current row index. Use it as an alias for a template variable
|
20
|
+
* - `rowIndex`—The current row index. Use it as an alias for a template variable with `let-rowIndex="rowIndex"`.
|
22
21
|
*
|
23
22
|
* @example
|
24
23
|
* ```html
|
@@ -29,7 +28,7 @@ import * as i0 from "@angular/core";
|
|
29
28
|
* </ng-template>
|
30
29
|
* </kendo-treelist-column>
|
31
30
|
* </kendo-treelist>
|
32
|
-
|
31
|
+
* ```
|
33
32
|
*/
|
34
33
|
export declare class CellTemplateDirective {
|
35
34
|
templateRef: TemplateRef<any>;
|
@@ -16,16 +16,14 @@ export interface RowArgs {
|
|
16
16
|
index: number;
|
17
17
|
}
|
18
18
|
/**
|
19
|
-
* Represents the callback arguments
|
20
|
-
* [`rowClass`]({% slug api_treelist_treelistcomponent %}#toc-rowClass) property.
|
19
|
+
* Represents the callback arguments used by the [`rowClass`]({% slug api_treelist_treelistcomponent %}#toc-rowClass) property.
|
21
20
|
*/
|
22
21
|
export type RowClassArgs = RowArgs;
|
23
22
|
/**
|
24
|
-
* Represents the callback
|
25
|
-
* [`rowClass`]({% slug api_treelist_treelistcomponent %}#toc-rowClass) property.
|
23
|
+
* Represents the callback used by the [`rowClass`]({% slug api_treelist_treelistcomponent %}#toc-rowClass) property.
|
26
24
|
*
|
27
|
-
* ```ts
|
28
|
-
*
|
25
|
+
* ```ts
|
26
|
+
* public rowCallback({ dataItem, index }) {
|
29
27
|
* const isEven = index % 2 === 0;
|
30
28
|
* return {
|
31
29
|
* even: isEven,
|
@@ -33,7 +31,6 @@ export type RowClassArgs = RowArgs;
|
|
33
31
|
* };
|
34
32
|
* }
|
35
33
|
* ```
|
36
|
-
*
|
37
34
|
*/
|
38
35
|
export type RowClassFn = (context: RowClassArgs) => string | string[] | Set<string> | {
|
39
36
|
[key: string]: any;
|
@@ -5,9 +5,20 @@
|
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
/**
|
7
7
|
* Represents the Kendo UI TreeListSpacer component for Angular.
|
8
|
-
*
|
9
|
-
*
|
10
|
-
*
|
8
|
+
* Use this component to add extra white space between Pager inner elements or to customize the spacer width.
|
9
|
+
* You can also use it in any flex container within the TreeList. [See example](slug:toolbartemplate_treelist#toc-defining-the-spacing-between-toolbar-elements).
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* ```html
|
13
|
+
* <kendo-treelist [data]="data" [fetchChildren]="fetchChildren" [hasChildren]="hasChildren">
|
14
|
+
* <ng-template kendoTreeListToolbarTemplate>
|
15
|
+
* <kendo-treelist-spacer></kendo-treelist-spacer>
|
16
|
+
* <button type="button" kendoTreeListExcelCommand [svgIcon]="fileExcelIcon"> Export to Excel </button>
|
17
|
+
* <kendo-treelist-spacer></kendo-treelist-spacer>
|
18
|
+
* </ng-template>
|
19
|
+
* <kendo-treelist-column field="ProductName" title="Product Name"></kendo-treelist-column>
|
20
|
+
* </kendo-treelist>
|
21
|
+
* ```
|
11
22
|
*/
|
12
23
|
export declare class TreeListSpacerComponent {
|
13
24
|
hostClass: boolean;
|
@@ -15,9 +26,9 @@ export declare class TreeListSpacerComponent {
|
|
15
26
|
get flexBasisStyle(): string;
|
16
27
|
/**
|
17
28
|
* Specifies the width of the TreeListSpacer.
|
18
|
-
* Accepts
|
29
|
+
* Accepts string values for the [CSS `flex-basis` property](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis).
|
19
30
|
*
|
20
|
-
* If not set, the TreeListSpacer
|
31
|
+
* If not set, the TreeListSpacer takes all available space.
|
21
32
|
*/
|
22
33
|
width: string;
|
23
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeListSpacerComponent, never>;
|
@@ -5,19 +5,17 @@
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
/**
|
8
|
-
* Represents the column footer cell template of the TreeList
|
9
|
-
*
|
10
|
-
*
|
11
|
-
* To define a footer template, nest an `<ng-template>` tag with the
|
12
|
-
* `kendoTreeListFooterTemplate` directive inside the `<kendo-treelist-column>` tag.
|
8
|
+
* Represents the column footer cell template of the TreeList ([more information and example]({% slug templates_columns_treelist %}#toc-footer-template)).
|
9
|
+
* Use this directive to customize the table footer cell for the column.
|
10
|
+
* To define a footer template, nest an `<ng-template>` tag with the `kendoTreeListFooterTemplate` directive inside the `<kendo-treelist-column>` tag.
|
13
11
|
*
|
14
|
-
* The template context is set to the aggregate values and the following
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
18
|
-
*
|
19
|
-
*
|
20
|
-
*
|
12
|
+
* The template context is set to the aggregate values and provides the following fields:
|
13
|
+
* - `aggregates`—The aggregates for the level items.
|
14
|
+
* - `column`—Defines an instance of the [`ColumnComponent`]({% slug api_treelist_columncomponent %}) option.
|
15
|
+
* - `columnIndex`—Defines the current column index.
|
16
|
+
* - `field`—The name of the column field, if set.
|
17
|
+
* - `items`—The data items on this level.
|
18
|
+
* - `parentItem`—The parent data item; `null` for root level items.
|
21
19
|
*
|
22
20
|
* @example
|
23
21
|
* ```html
|
@@ -7,13 +7,13 @@ import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
8
8
|
* Represents the column header cell template of the TreeList
|
9
9
|
* ([more information and example]({% slug templates_columns_treelist %}#toc-header-template)).
|
10
|
-
*
|
10
|
+
* Use this directive to customize the table header cell for the column.
|
11
11
|
* To define a header template, nest an `<ng-template>` tag with the
|
12
12
|
* [`kendoTreeListHeaderTemplate`]({% slug api_treelist_headertemplatedirective %}) directive inside the `<kendo-treelist-column>` tag.
|
13
13
|
*
|
14
|
-
*
|
15
|
-
*
|
16
|
-
*
|
14
|
+
* The template context is set to the current column and provides the following fields:
|
15
|
+
* - `column`—Defines an instance of the [`ColumnComponent`]({% slug api_treelist_columncomponent %}) option.
|
16
|
+
* - `columnIndex`—Defines the current column index.
|
17
17
|
*
|
18
18
|
* @example
|
19
19
|
* ```html
|
@@ -5,7 +5,7 @@
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
/**
|
8
|
-
* Represents the no-records template of the TreeList ([see example](slug:norecordtemplate_treelist)).
|
8
|
+
* Represents the no-records template of the TreeList ([see example](slug:norecordtemplate_treelist)). Use this directive to customize the
|
9
9
|
* appearance of the item that is displayed when no data is present. To define the no-records template,
|
10
10
|
* nest an `<ng-template>` tag with the `kendoTreeListNoRecordsTemplate` directive inside `<kendo-treelist>`.
|
11
11
|
*
|
@@ -14,7 +14,7 @@ import * as i0 from "@angular/core";
|
|
14
14
|
* @example
|
15
15
|
* ```html
|
16
16
|
* <kendo-treelist ... >
|
17
|
-
* <kendo-treelist-column field="name"
|
17
|
+
* <kendo-treelist-column field="name"></kendo-treelist-column>
|
18
18
|
* <ng-template kendoTreeListNoRecordsTemplate>
|
19
19
|
* No data loaded.
|
20
20
|
* </ng-template>
|