@progress/kendo-angular-treelist 19.1.2-develop.3 → 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
@@ -9,19 +9,22 @@ import { DataStateChangeEvent } from '../data/change-event-args.interface';
|
|
9
9
|
import { RowReorderEvent } from '../row-reordering/types';
|
10
10
|
import { RowReorderService } from './../row-reordering/row-reorder.service';
|
11
11
|
import * as i0 from "@angular/core";
|
12
|
+
/**
|
13
|
+
* @hidden
|
14
|
+
*/
|
12
15
|
export declare abstract class BaseBindingDirective implements OnInit, OnDestroy, OnChanges, DoCheck {
|
13
16
|
protected component: DataBoundTreeComponent;
|
14
17
|
protected rowReorderService?: RowReorderService;
|
15
18
|
/**
|
16
|
-
*
|
19
|
+
* Sets the descriptors that sort the data.
|
17
20
|
*/
|
18
21
|
set sort(value: SortDescriptor[]);
|
19
22
|
/**
|
20
|
-
*
|
23
|
+
* Sets the descriptor that filters the data.
|
21
24
|
*/
|
22
25
|
set filter(value: CompositeFilterDescriptor);
|
23
26
|
/**
|
24
|
-
*
|
27
|
+
* Sets the descriptor that aggregates the data.
|
25
28
|
*/
|
26
29
|
set aggregate(value: any);
|
27
30
|
protected state: State;
|
@@ -8,28 +8,27 @@ import { RowReorderService } from '../row-reordering/row-reorder.service';
|
|
8
8
|
import { RowReorderEvent } from '../row-reordering/types';
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
/**
|
11
|
-
*
|
12
|
-
*
|
11
|
+
* Represents the Kendo for Angular UI TreeList flat binding directive.
|
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]({% slug sorting_treelist %}), [aggregation]({% slug treelist_with_aggregates %})
|
14
|
+
* and [filtering]({% slug filtering_treelist %}). [More information and examples]({% slug databinding_treelist %}).
|
13
15
|
*
|
14
|
-
* The directive encapsulates the in-memory handling of data operations such as
|
15
|
-
* [sorting]({% slug sorting_treelist %}), [aggregation]({% slug treelist_with_aggregates %})
|
16
|
-
* and [filtering]({% slug filtering_treelist %}) ([more information and examples]({% slug databinding_treelist %})).
|
17
16
|
*/
|
18
17
|
export declare class FlatBindingDirective extends BaseBindingDirective {
|
19
18
|
protected component: DataBoundTreeComponent;
|
20
19
|
protected rowReorderService: RowReorderService;
|
21
20
|
/**
|
22
|
-
*
|
21
|
+
* Sets the name of the field that contains the identifier of the parent node.
|
23
22
|
*/
|
24
23
|
set parentIdField(value: string);
|
25
24
|
get parentIdField(): string;
|
26
25
|
/**
|
27
|
-
*
|
26
|
+
* Sets the name of the field that contains the unique identifier of the node.
|
28
27
|
*/
|
29
28
|
set idField(value: string);
|
30
29
|
get idField(): string;
|
31
30
|
/**
|
32
|
-
*
|
31
|
+
* Sets the array of data that populates the TreeList.
|
33
32
|
*/
|
34
33
|
data: any[];
|
35
34
|
idGetter: any;
|
@@ -8,22 +8,29 @@ import { RowReorderService } from '../row-reordering/row-reorder.service';
|
|
8
8
|
import { RowReorderEvent } from '../row-reordering/types';
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
/**
|
11
|
-
*
|
11
|
+
* Represents the Kendo UI for Angular TreeList hierarchy binding directive.
|
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]({% slug sorting_treelist %}), [aggregation]({% slug treelist_with_aggregates %})
|
14
|
+
* and [filtering]({% slug filtering_treelist %}). [More information and examples.](slug:local_databinding_treelist#toc-binding-to-hierarchical-data-1)
|
12
15
|
*
|
13
|
-
*
|
14
|
-
*
|
15
|
-
*
|
16
|
+
* @example
|
17
|
+
* ```html
|
18
|
+
* <kendo-treelist [kendoTreeListHierarchyBinding]="data" [children]="childrenField"></kendo-treelist>
|
19
|
+
* ```
|
20
|
+
*
|
21
|
+
* @remarks
|
22
|
+
* Applied to: {@link TreeListComponent}.
|
16
23
|
*/
|
17
24
|
export declare class HierarchyBindingDirective extends BaseBindingDirective {
|
18
25
|
protected component: DataBoundTreeComponent;
|
19
26
|
protected rowReorderService: RowReorderService;
|
20
27
|
/**
|
21
|
-
*
|
28
|
+
* Sets the name of the field that holds the child data items of the node.
|
22
29
|
*/
|
23
30
|
set childrenField(value: string);
|
24
31
|
get childrenField(): string;
|
25
32
|
/**
|
26
|
-
*
|
33
|
+
* Sets the array of data that populates the TreeList.
|
27
34
|
*/
|
28
35
|
data: any[];
|
29
36
|
childrenGetter: any;
|
@@ -10,15 +10,14 @@ import { Button } from '@progress/kendo-angular-buttons';
|
|
10
10
|
import { ColumnInfoService } from '../common/column-info.service';
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
/**
|
13
|
-
* Represents the
|
14
|
-
*
|
15
|
-
* add the component inside the [`ToolbarTemplate`]({% slug api_treelist_toolbartemplatedirective %}) directive.
|
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`]({% slug api_treelist_toolbartemplatedirective %}) directive.
|
16
15
|
*
|
17
16
|
* @example
|
18
17
|
* ```html
|
19
18
|
* <kendo-treelist ...>
|
20
|
-
* <ng-template
|
21
|
-
* <kendo-treelist-column-chooser
|
19
|
+
* <ng-template kendoTreeListColumnMenuTemplate>
|
20
|
+
* <kendo-treelist-column-chooser></kendo-treelist-column-chooser>
|
22
21
|
* </ng-template>
|
23
22
|
* </kendo-treelist>
|
24
23
|
* ```
|
@@ -31,14 +30,12 @@ export declare class ColumnChooserComponent implements OnDestroy {
|
|
31
30
|
private renderer;
|
32
31
|
private changeDetector;
|
33
32
|
/**
|
34
|
-
* Specifies if
|
35
|
-
*
|
33
|
+
* Specifies if changes in column visibility are applied immediately.
|
36
34
|
* @default false
|
37
35
|
*/
|
38
36
|
autoSync: boolean;
|
39
37
|
/**
|
40
38
|
* Specifies if all columns can be hidden.
|
41
|
-
*
|
42
39
|
* @default true
|
43
40
|
*/
|
44
41
|
allowHideAll: boolean;
|
@@ -4,11 +4,13 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { ColumnBase } from '../columns/column-base';
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Represents the event arguments for the `columnLockedChange` event in the Kendo UI for Angular TreeList.
|
8
|
+
* Use this event to access the columns whose locked state has changed.
|
9
|
+
*
|
8
10
|
*/
|
9
11
|
export declare class ColumnLockedChangeEvent {
|
10
12
|
/**
|
11
|
-
* The columns whose locked state
|
13
|
+
* The array of columns whose locked state has changed.
|
12
14
|
*/
|
13
15
|
columns: ColumnBase[];
|
14
16
|
/**
|
@@ -8,12 +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 column-menu item for resizing all columns to
|
12
|
-
* [See example](slug:columnmenu_treelist#toc-autosize-all-columns-item).
|
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](slug:columnmenu_treelist#toc-autosize-all-columns-item).
|
13
12
|
*
|
14
|
-
*
|
15
|
-
*
|
16
|
-
* the template to the `service` input of the `kendo-treelist-columnmenu-autosize-all-columns` component. [See example](slug:columnmenu_treelist#toc-customizing-the-content).
|
13
|
+
* Place this component inside a [`ColumnMenuTemplate`]({% slug api_treelist_columnmenutemplatedirective %}) directive to enable the feature.
|
14
|
+
* Register the component as a known column menu item by setting the [`ColumnMenuService`]({% slug api_treelist_columnmenuservice %}) to the `service` input. [See example](slug:columnmenu_treelist#toc-customizing-the-content).
|
17
15
|
*
|
18
16
|
* @example
|
19
17
|
* ```html
|
@@ -8,12 +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 column-menu item for resizing
|
12
|
-
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_treelist_columnmenutemplatedirective %}) directive.
|
13
|
-
* [See example](slug:columnmenu_treelist#toc-customizing-the-content).
|
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](slug:columnmenu_treelist#toc-customizing-the-content).
|
14
12
|
*
|
15
|
-
*
|
16
|
-
*
|
13
|
+
* Place this component inside a [`ColumnMenuTemplate`]({% slug api_treelist_columnmenutemplatedirective %}) directive to enable the feature.
|
14
|
+
* Set the [`ColumnMenuService`]({% slug api_treelist_columnmenuservice %}) and `column` inputs using the values passed by the template.
|
17
15
|
*
|
18
16
|
* @example
|
19
17
|
* ```html
|
@@ -28,14 +26,14 @@ import * as i0 from "@angular/core";
|
|
28
26
|
export declare class ColumnMenuAutoSizeColumnComponent extends ColumnMenuItemBase implements OnInit {
|
29
27
|
ctx: ContextService;
|
30
28
|
/**
|
31
|
-
* The TreeList column instance
|
29
|
+
* The TreeList column instance to resize with the auto size column option.
|
32
30
|
*/
|
33
31
|
column: any;
|
34
32
|
maxWidthIcon: SVGIcon;
|
35
33
|
constructor(ctx: ContextService);
|
36
34
|
ngOnInit(): void;
|
37
35
|
/**
|
38
|
-
* Resizes
|
36
|
+
* Resizes the specified column to the minimum possible width so that it fits the widest header or cell content without wrapping.
|
39
37
|
*/
|
40
38
|
autoSizeColumn(): void;
|
41
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnMenuAutoSizeColumnComponent, never>;
|
@@ -9,12 +9,21 @@ import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
9
9
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
10
10
|
import * as i0 from "@angular/core";
|
11
11
|
/**
|
12
|
-
* Represents the column-menu item for selecting columns in the TreeList. [See example](slug:columnmenu_treelist#toc-column-chooser-item).
|
13
12
|
*
|
14
|
-
*
|
13
|
+
* Represents the Kendo UI for Angular TreeList column-menu item for chaging the visibility of the columns. [See example](slug:columnmenu_treelist#toc-column-chooser-item).
|
15
14
|
*
|
16
|
-
*
|
17
|
-
*
|
15
|
+
* Place this component inside a [`ColumnMenuTemplate`]({% slug api_treelist_columnmenutemplatedirective %}) directive to enable the feature.
|
16
|
+
* Set the [`ColumnMenuService`]({% slug api_treelist_columnmenuservice %}) and `column` inputs using the values passed by the template.
|
17
|
+
*
|
18
|
+
* @example
|
19
|
+
* ```html
|
20
|
+
* <kendo-treelist [columnMenu]="true" ...>
|
21
|
+
* <ng-template kendoTreeListColumnMenuTemplate let-service="service" let-column="column">
|
22
|
+
* <kendo-treelist-columnmenu-chooser [column]="column" [service]="service">
|
23
|
+
* </kendo-treelist-columnmenu-chooser>
|
24
|
+
* </ng-template>
|
25
|
+
* </kendo-treelist>
|
26
|
+
* ```
|
18
27
|
*/
|
19
28
|
export declare class ColumnMenuChooserComponent extends ColumnMenuItemBase {
|
20
29
|
localization: LocalizationService;
|
@@ -22,11 +31,11 @@ export declare class ColumnMenuChooserComponent extends ColumnMenuItemBase {
|
|
22
31
|
private changeDetector;
|
23
32
|
private hostElement;
|
24
33
|
/**
|
25
|
-
* Fires when the content
|
34
|
+
* Fires when the content expands.
|
26
35
|
*/
|
27
36
|
expand: EventEmitter<any>;
|
28
37
|
/**
|
29
|
-
* Fires when the content
|
38
|
+
* Fires when the content collapses.
|
30
39
|
*/
|
31
40
|
collapse: EventEmitter<any>;
|
32
41
|
/**
|
@@ -3,12 +3,13 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
/**
|
6
|
-
*
|
7
|
-
*
|
6
|
+
* Configures whether a column menu item is initially expanded.
|
7
|
+
* You can set this option for the `columnChooser` and `filter` [`ColumnMenuSettings`]({% slug api_grid_columnmenusettings %}) options.
|
8
|
+
*
|
8
9
|
*/
|
9
10
|
export interface ExpandableColumnMenuItem {
|
10
11
|
/**
|
11
|
-
*
|
12
|
+
* Specifies if the expandable column menu item is initially expanded.
|
12
13
|
*/
|
13
14
|
expanded: boolean;
|
14
15
|
}
|
@@ -10,21 +10,31 @@ 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
|
-
*
|
13
|
+
* Render this component inside a [`ColumnMenuTemplate`]({% slug api_treelist_columnmenutemplatedirective %}) directive.
|
14
14
|
*
|
15
15
|
* To register the component as a known column menu item, set the [`ColumnMenuService`]({% slug api_treelist_columnmenuservice %})
|
16
|
-
* that
|
16
|
+
* that the template passes to the `service` input of the `kendo-treelist-columnmenu-filter` component.
|
17
17
|
*
|
18
|
+
* @example
|
19
|
+
* ```html
|
20
|
+
* <kendo-treelist ...>
|
21
|
+
* <kendo-treelist-column field="ProductName">
|
22
|
+
* <ng-template kendoTreeListColumnMenuTemplate>
|
23
|
+
* <kendo-treelist-columnmenu-filter></kendo-treelist-columnmenu-filter>
|
24
|
+
* </ng-template>
|
25
|
+
* </kendo-treelist-column>
|
26
|
+
* </kendo-treelist>
|
27
|
+
* ```
|
18
28
|
*/
|
19
29
|
export declare class ColumnMenuFilterComponent extends ColumnMenuItemBase {
|
20
30
|
localization: LocalizationService;
|
21
31
|
private hostElement;
|
22
32
|
/**
|
23
|
-
* Fires when the content
|
33
|
+
* Fires when the content expands.
|
24
34
|
*/
|
25
35
|
expand: EventEmitter<any>;
|
26
36
|
/**
|
27
|
-
* Fires when the content
|
37
|
+
* Fires when the content collapses.
|
28
38
|
*/
|
29
39
|
collapse: EventEmitter<any>;
|
30
40
|
/**
|
@@ -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`]({% slug api_treelist_columnmenuservice %})
|
13
|
+
* Represents the [`ColumnMenuService`]({% slug api_treelist_columnmenuservice %}) instance.
|
14
14
|
* Requires a mandatory input.
|
15
15
|
*/
|
16
16
|
service: ColumnMenuService;
|
@@ -5,11 +5,9 @@
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
/**
|
8
|
-
* Represents the content template
|
9
|
-
*
|
10
|
-
*
|
11
|
-
* To define the content template, nest an `<ng-template>` tag with the
|
12
|
-
* `kendoTreeListColumnMenuItemContentTemplate` directive inside a `<kendo-treelist-columnmenu-item>`.
|
8
|
+
* Represents the content template for the [`kendo-treelist-columnmenu-item`]({% slug api_treelist_columnmenuitemcomponent %}) component.
|
9
|
+
* Use this directive to specify the content of a column menu item.
|
10
|
+
* To define the content template, nest an `<ng-template>` tag with the `kendoTreeListColumnMenuItemContentTemplate` directive inside a `<kendo-treelist-columnmenu-item>`.
|
13
11
|
*
|
14
12
|
* @example
|
15
13
|
* ```html
|
@@ -8,8 +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
|
12
|
-
* [`ColumnMenuTemplate`]({% slug api_treelist_columnmenutemplatedirective %}) directive.
|
11
|
+
* Represents an item you can place inside a [`ColumnMenuTemplate`]({% slug api_treelist_columnmenutemplatedirective %}) directive.
|
13
12
|
*
|
14
13
|
* @example
|
15
14
|
* ```html
|
@@ -26,25 +25,23 @@ export declare class ColumnMenuItemComponent implements AfterViewInit, OnChanges
|
|
26
25
|
*/
|
27
26
|
itemClick: EventEmitter<any>;
|
28
27
|
/**
|
29
|
-
* Fires when the content
|
28
|
+
* Fires when the content expands.
|
30
29
|
*/
|
31
30
|
expand: EventEmitter<any>;
|
32
31
|
/**
|
33
|
-
* Fires when the content
|
32
|
+
* Fires when the content collapses.
|
34
33
|
*/
|
35
34
|
collapse: EventEmitter<any>;
|
36
35
|
/**
|
37
|
-
*
|
38
|
-
* that will be rendered for the item.
|
36
|
+
* Sets the name of the [font icon](slug:icons#icons-list) rendered for the item.
|
39
37
|
*/
|
40
38
|
icon: string;
|
41
39
|
/**
|
42
|
-
*
|
43
|
-
* that will be rendered for the item.
|
40
|
+
* Sets the name of the [SVG icon]({% slug svgicon_list %}) rendered for the item.
|
44
41
|
*/
|
45
42
|
svgIcon: SVGIcon;
|
46
43
|
/**
|
47
|
-
*
|
44
|
+
* Sets the item text.
|
48
45
|
*/
|
49
46
|
text: string;
|
50
47
|
/**
|
@@ -60,7 +57,7 @@ export declare class ColumnMenuItemComponent implements AfterViewInit, OnChanges
|
|
60
57
|
*/
|
61
58
|
expanded: boolean;
|
62
59
|
/**
|
63
|
-
*
|
60
|
+
* Provides the [ColumnMenuService]({% slug api_treelist_columnmenuservice %}) instance.
|
64
61
|
* Required to include the item in the column menu keyboard navigation sequence.
|
65
62
|
*/
|
66
63
|
service: ColumnMenuService;
|
@@ -4,12 +4,34 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { ElementRef, NgZone, Renderer2 } from '@angular/core';
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
+
/**
|
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](slug:columnmenu_treelist#customizing-the-content).
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* ```html
|
13
|
+
* <ng-template kendoTreelistColumnMenuTemplate let-service="service" let-column="column">
|
14
|
+
* <kendo-treelist-columnmenu-sort #sortItem [kendoTreeListColumnMenuItem]="sortItem" [service]="service">
|
15
|
+
* </kendo-treelist-columnmenu-sort>
|
16
|
+
* </ng-template>
|
17
|
+
* ```
|
18
|
+
* @remarks
|
19
|
+
* Applied to:
|
20
|
+
* {@link ColumnMenuChooserComponent},
|
21
|
+
* {@link ColumnMenuFilterComponent},
|
22
|
+
* {@link ColumnMenuSortComponent},
|
23
|
+
* {@link ColumnMenuLockComponent},
|
24
|
+
* {@link ColumnMenuComponent},
|
25
|
+
* {@link ColumnMenuItemComponent},
|
26
|
+
* {@link ColumnMenuAutoSizeAllColumnsComponent},
|
27
|
+
* {@link ColumnMenuAutoSizeColumnComponent}.
|
28
|
+
*/
|
7
29
|
export declare class ColumnMenuItemDirective {
|
8
30
|
hostElement: ElementRef;
|
9
31
|
private renderer;
|
10
32
|
private ngZone;
|
11
33
|
/**
|
12
|
-
*
|
34
|
+
* Provides a reference to the TreeList column menu item. Required for built-in keyboard navigation.
|
13
35
|
*/
|
14
36
|
menuItemComponent: any;
|
15
37
|
firstFocusableElement: HTMLElement;
|
@@ -9,13 +9,23 @@ import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
9
9
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
10
10
|
import * as i0 from "@angular/core";
|
11
11
|
/**
|
12
|
-
* Represents the column-menu item that
|
12
|
+
* Represents the column-menu item that lets you lock or unlock columns.
|
13
13
|
*
|
14
|
-
*
|
14
|
+
* Render this component inside a [`ColumnMenuTemplate`]({% slug api_treelist_columnmenutemplatedirective %}) directive.
|
15
15
|
*
|
16
|
-
* To register the component as a known column menu item, set the [`ColumnMenuService`]({% slug api_treelist_columnmenuservice %})
|
17
|
-
* that
|
16
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`]({% slug api_treelist_columnmenuservice %})
|
17
|
+
* that the template passes to the `service` input of the `kendo-treelist-columnmenu-lock` component.
|
18
18
|
*
|
19
|
+
* @example
|
20
|
+
* ```html
|
21
|
+
* <kendo-treelist ...>
|
22
|
+
* <kendo-treelist-column field="ProductName">
|
23
|
+
* <ng-template kendoTreeListColumnMenuTemplate>
|
24
|
+
* <kendo-treelist-columnmenu-lock></kendo-treelist-columnmenu-lock>
|
25
|
+
* </ng-template>
|
26
|
+
* </kendo-treelist-column>
|
27
|
+
* </kendo-treelist>
|
28
|
+
* ```
|
19
29
|
*/
|
20
30
|
export declare class ColumnMenuLockComponent extends ColumnMenuItemBase {
|
21
31
|
private localization;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { ExpandableColumnMenuItem } from "./column-menu-expandable-item.interface";
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Configures the column menu in the TreeList component.
|
8
8
|
*
|
9
9
|
* @example
|
10
10
|
* ```html
|
@@ -17,16 +17,16 @@ 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]({% slug api_treelist_treelistcomponent %}#toc-sortable) is enabled,
|
20
|
+
* If [sorting]({% slug api_treelist_treelistcomponent %}#toc-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]({% slug api_treelist_treelistcomponent %}#toc-filterable) is enabled,
|
25
|
+
* If [filtering]({% slug api_treelist_treelistcomponent %}#toc-filterable) is enabled, the default value is `true`.
|
26
26
|
*/
|
27
27
|
filter?: boolean | ExpandableColumnMenuItem;
|
28
28
|
/**
|
29
|
-
* Specifies if the item for column selection
|
29
|
+
* Specifies if the item for column selection appears in the column menu.
|
30
30
|
*/
|
31
31
|
columnChooser?: boolean | ExpandableColumnMenuItem;
|
32
32
|
/**
|
@@ -35,7 +35,7 @@ export interface ColumnMenuSettings {
|
|
35
35
|
*/
|
36
36
|
lock?: boolean;
|
37
37
|
/**
|
38
|
-
* Applies the minimum possible width for the specified column, so
|
38
|
+
* Applies the minimum possible width for the specified column, so the whole text fits without wrapping.
|
39
39
|
*/
|
40
40
|
autoSizeColumn?: boolean;
|
41
41
|
/**
|
@@ -10,11 +10,21 @@ import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
11
11
|
* Represents the column-menu item for sorting TreeList columns.
|
12
12
|
*
|
13
|
-
*
|
13
|
+
* Render this component inside a [`ColumnMenuTemplate`]({% slug api_treelist_columnmenutemplatedirective %}) directive.
|
14
14
|
*
|
15
15
|
* To register the component as a known column menu item, set the [`ColumnMenuService`]({% slug api_treelist_columnmenuservice %})
|
16
|
-
* that
|
16
|
+
* that the template passes to the `service` input of the `kendo-treelist-columnmenu-sort` component.
|
17
17
|
*
|
18
|
+
* @example
|
19
|
+
* ```html
|
20
|
+
* <kendo-treelist ...>
|
21
|
+
* <kendo-treelist-column field="ProductName">
|
22
|
+
* <ng-template kendoTreeListColumnMenuTemplate>
|
23
|
+
* <kendo-treelist-columnmenu-sort></kendo-treelist-columnmenu-sort>
|
24
|
+
* </ng-template>
|
25
|
+
* </kendo-treelist-column>
|
26
|
+
* </kendo-treelist>
|
27
|
+
* ```
|
18
28
|
*/
|
19
29
|
export declare class ColumnMenuSortComponent extends ColumnMenuItemBase {
|
20
30
|
localization: LocalizationService;
|
@@ -5,12 +5,10 @@
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
/**
|
8
|
-
* Represents the template for the column menu in the TreeList.
|
9
|
-
*
|
10
|
-
* To define the content template, nest an `<ng-template>` tag with the
|
11
|
-
* `kendoTreeListColumnMenuTemplate` directive inside the `kendo-treelist` or the `<kendo-treelist-column>` component.
|
8
|
+
* Represents the template for the column menu in the TreeList. Use this directive to customize the content of the column menu for all or specific columns.
|
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.
|
12
10
|
*
|
13
|
-
* The template context is
|
11
|
+
* The template context is passed through the following fields:
|
14
12
|
* - `service`—Represents the [ColumnMenuService]({% slug api_treelist_columnmenuservice %}).
|
15
13
|
* - `column`—Represents the TreeList column.
|
16
14
|
*
|
@@ -13,6 +13,18 @@ import { ContextService } from '../common/provider.service';
|
|
13
13
|
import * as i0 from "@angular/core";
|
14
14
|
/**
|
15
15
|
* Represents the [column menu]({% slug columnmenu_treelist %}) component of the TreeList.
|
16
|
+
* Use this component to display and manage column menu options for a TreeList column.
|
17
|
+
*
|
18
|
+
* @example
|
19
|
+
* ```html
|
20
|
+
* <kendo-treelist ...>
|
21
|
+
* <kendo-treelist-column field="ProductName">
|
22
|
+
* <ng-template kendoTreeListColumnMenuTemplate let-service="service" let-column="column">
|
23
|
+
* <kendo-treelist-column-menu [column]="column"></kendo-treelist-column-menu>
|
24
|
+
* </ng-template>
|
25
|
+
* </kendo-treelist-column>
|
26
|
+
* </kendo-treelist>
|
27
|
+
* ```
|
16
28
|
*/
|
17
29
|
export declare class ColumnMenuComponent implements AfterViewInit, OnChanges, OnDestroy {
|
18
30
|
protected navigationService: NavigationService;
|
@@ -38,12 +50,12 @@ export declare class ColumnMenuComponent implements AfterViewInit, OnChanges, On
|
|
38
50
|
*/
|
39
51
|
settings: ColumnMenuSettings;
|
40
52
|
/**
|
41
|
-
* The descriptors by which the data
|
53
|
+
* The descriptors by which the data is sorted.
|
42
54
|
* Typically bound to the same value as [TreeListComponent.sort]({% slug api_treelist_treelistcomponent %}#toc-sort).
|
43
55
|
*/
|
44
56
|
sort: any;
|
45
57
|
/**
|
46
|
-
* The descriptor by which the data
|
58
|
+
* The descriptor by which the data is filtered.
|
47
59
|
* Typically bound to the same value as [TreeListComponent.filter]({% slug api_treelist_treelistcomponent %}#toc-filter).
|
48
60
|
*/
|
49
61
|
filter: any;
|
@@ -7,8 +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
|
11
|
-
* [`ColumnMenuTemplate`]({% slug api_treelist_columnmenutemplatedirective %}) directive.
|
10
|
+
* Represents the service passed to the [`ColumnMenuTemplate`]({% slug api_treelist_columnmenutemplatedirective %}) directive.
|
12
11
|
*
|
13
12
|
* @example
|
14
13
|
* ```html
|
@@ -4,11 +4,11 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { ColumnBase } from '../columns/column-base';
|
6
6
|
/**
|
7
|
-
*
|
7
|
+
* Represents the arguments for the `columnVisibilityChange` event.
|
8
8
|
*/
|
9
9
|
export declare class ColumnVisibilityChangeEvent {
|
10
10
|
/**
|
11
|
-
*
|
11
|
+
* Contains the columns whose visibility changes.
|
12
12
|
*/
|
13
13
|
columns: ColumnBase[];
|
14
14
|
/**
|
@@ -5,7 +5,8 @@
|
|
5
5
|
import { Observable } from 'rxjs';
|
6
6
|
import { ColumnBase } from '../columns/column-base';
|
7
7
|
/**
|
8
|
-
*
|
8
|
+
* Describes the returned type of the [`columnResize`](slug:api_treelist_treelistcomponent#toc-columnresize) event.
|
9
|
+
* Use this interface to access the resized column and its width values.
|
9
10
|
*/
|
10
11
|
export interface ColumnResizeArgs {
|
11
12
|
/**
|
@@ -17,7 +18,7 @@ export interface ColumnResizeArgs {
|
|
17
18
|
*/
|
18
19
|
newWidth?: number;
|
19
20
|
/**
|
20
|
-
* The actual width (in pixels) of the column
|
21
|
+
* The actual width (in pixels) of the column before resizing.
|
21
22
|
*/
|
22
23
|
oldWidth: number;
|
23
24
|
}
|