@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
@@ -119,12 +119,39 @@ const isInEditedCell = (element, treelistElement) => closest(element, matchesCla
|
|
119
119
|
closest(element, matchesNodeName('kendo-treelist')) === treelistElement;
|
120
120
|
/**
|
121
121
|
* Represents the Kendo UI TreeList component for Angular.
|
122
|
+
* Use this component to display and manage hierarchical data in a tabular format.
|
122
123
|
*
|
123
124
|
* @example
|
124
125
|
* ```html
|
125
|
-
* <kendo-treelist
|
126
|
+
* <kendo-treelist
|
127
|
+
* [kendoTreeListFlatBinding]="data"
|
128
|
+
* [pageSize]="10"
|
129
|
+
* [pageable]="true">
|
130
|
+
* </kendo-treelist>
|
126
131
|
* ```
|
127
132
|
*
|
133
|
+
* @remarks
|
134
|
+
* Supported children components are:
|
135
|
+
* {@link CheckboxColumnComponent},
|
136
|
+
* {@link ColumnChooserComponent},
|
137
|
+
* {@link ColumnComponent},
|
138
|
+
* {@link ColumnGroupComponent},
|
139
|
+
* {@link ColumnMenuAutoSizeAllColumnsComponent},
|
140
|
+
* {@link ColumnMenuAutoSizeColumnComponent},
|
141
|
+
* {@link ColumnMenuChooserComponent},
|
142
|
+
* {@link ColumnMenuComponent},
|
143
|
+
* {@link ColumnMenuFilterComponent},
|
144
|
+
* {@link ColumnMenuItemComponent},
|
145
|
+
* {@link ColumnMenuLockComponent},
|
146
|
+
* {@link ColumnMenuSortComponent},
|
147
|
+
* {@link CommandColumnComponent},
|
148
|
+
* {@link CustomMessagesComponent},
|
149
|
+
* {@link ExcelComponent},
|
150
|
+
* {@link TreeListSpacerComponent},
|
151
|
+
* {@link PDFComponent},
|
152
|
+
* {@link RowReorderColumnComponent},
|
153
|
+
* {@link SpanColumnComponent},
|
154
|
+
* {@link ToolBarComponent}.
|
128
155
|
*/
|
129
156
|
export class TreeListComponent {
|
130
157
|
supportService;
|
@@ -153,11 +180,11 @@ export class TreeListComponent {
|
|
153
180
|
ctx;
|
154
181
|
rowReorderService;
|
155
182
|
/**
|
156
|
-
*
|
183
|
+
* Provides an accessible description of the component.
|
157
184
|
*/
|
158
185
|
ariaLabel;
|
159
186
|
/**
|
160
|
-
* Sets the data
|
187
|
+
* Sets the data for the TreeList. When you provide an array, the TreeList gets the total count automatically
|
161
188
|
* ([more information and example]({% slug databinding_treelist %})).
|
162
189
|
*/
|
163
190
|
set data(value) {
|
@@ -176,26 +203,26 @@ export class TreeListComponent {
|
|
176
203
|
return this.loadedData;
|
177
204
|
}
|
178
205
|
/**
|
179
|
-
*
|
206
|
+
* Sets the page size for the TreeList when [paging]({% slug paging_treelist %}) is enabled.
|
180
207
|
*
|
181
208
|
* @default 10
|
182
209
|
*/
|
183
210
|
pageSize = 10;
|
184
211
|
/**
|
185
|
-
*
|
186
|
-
*
|
212
|
+
* Sets the height in pixels for the TreeList when you set the `scrollable` option.
|
213
|
+
* You can also use `style.height` to set the height. The `style.height`
|
187
214
|
* option supports units such as `px`, `%`, `em`, `rem`, and others.
|
188
215
|
*/
|
189
216
|
height;
|
190
217
|
/**
|
191
|
-
*
|
192
|
-
*
|
193
|
-
* Set the `rowHeight` option to the exact
|
218
|
+
* Sets the actual height of each TreeList row (`tr`) element in the DOM.
|
219
|
+
* The [virtual scrolling functionality]({% slug scrollmmodes_treelist %}) requires this setting.
|
220
|
+
* Set the `rowHeight` option to match the exact pixel height of the `tr` element in the DOM.
|
194
221
|
*/
|
195
222
|
rowHeight;
|
196
223
|
/**
|
197
|
-
*
|
198
|
-
*
|
224
|
+
* Sets the number of records that the pager skips.
|
225
|
+
* The [paging]({% slug paging_treelist %}) functionality requires this setting.
|
199
226
|
*/
|
200
227
|
get skip() {
|
201
228
|
return this._skip;
|
@@ -207,12 +234,13 @@ export class TreeListComponent {
|
|
207
234
|
}
|
208
235
|
}
|
209
236
|
/**
|
210
|
-
*
|
237
|
+
* Sets the scroll mode for the TreeList.
|
238
|
+
*
|
211
239
|
* @default 'scrollable'
|
212
240
|
*/
|
213
241
|
scrollable = 'scrollable';
|
214
242
|
/**
|
215
|
-
*
|
243
|
+
* Sets the descriptors for sorting the data ([see example]({% slug sorting_treelist %})).
|
216
244
|
*/
|
217
245
|
set sort(value) {
|
218
246
|
if (isArray(value)) {
|
@@ -223,19 +251,19 @@ export class TreeListComponent {
|
|
223
251
|
return this._sort;
|
224
252
|
}
|
225
253
|
/**
|
226
|
-
*
|
254
|
+
* Sets a function that defines how to track changes for the data rows.
|
227
255
|
*
|
228
256
|
* By default, the TreeList tracks changes by the index of the data item.
|
229
|
-
*
|
230
|
-
*
|
257
|
+
* The TreeList tracks edited rows by reference.
|
231
258
|
*/
|
232
259
|
trackBy = defaultTrackBy;
|
233
260
|
/**
|
234
|
-
*
|
261
|
+
* Sets the descriptor for filtering the data ([see examples]({% slug filtering_treelist %})).
|
235
262
|
*/
|
236
263
|
filter;
|
237
264
|
/**
|
238
|
-
*
|
265
|
+
* When set to `true`, the TreeList renders only the columns in the current viewport.
|
266
|
+
*
|
239
267
|
* @default false
|
240
268
|
*/
|
241
269
|
virtualColumns = false;
|
@@ -300,40 +328,44 @@ export class TreeListComponent {
|
|
300
328
|
return this.selectionService.enableMarquee;
|
301
329
|
}
|
302
330
|
/**
|
303
|
-
* Enables the [filtering]({% slug filtering_treelist %}) of
|
331
|
+
* Enables the [filtering]({% slug filtering_treelist %}) of TreeList columns that have their `field` option set.
|
332
|
+
*
|
333
|
+
* @default false
|
304
334
|
*/
|
305
335
|
filterable = false;
|
306
336
|
/**
|
307
|
-
* Enables the [sorting]({% slug sorting_treelist %}) of
|
337
|
+
* Enables the [sorting]({% slug sorting_treelist %}) of TreeList columns that have their `field` option set.
|
338
|
+
*
|
339
|
+
* @default false
|
308
340
|
*/
|
309
341
|
sortable = false;
|
310
342
|
/**
|
311
|
-
* Configures the pager
|
343
|
+
* Configures the pager for the TreeList ([see example]({% slug paging_treelist %})).
|
312
344
|
*
|
345
|
+
* @default false
|
313
346
|
*/
|
314
347
|
pageable = false;
|
315
348
|
get normalizedPageableSettings() {
|
316
349
|
return normalize(this.pageable);
|
317
350
|
}
|
318
351
|
/**
|
319
|
-
* When
|
320
|
-
* By default, navigation is enabled. To disable it
|
352
|
+
* When keyboard navigation is enabled, you can use dedicated shortcuts to interact with the TreeList.
|
353
|
+
* By default, navigation is enabled. To disable it and include the TreeList content in the normal tab sequence, set this property to `false`.
|
354
|
+
*
|
321
355
|
* @default true
|
322
356
|
*/
|
323
357
|
navigable = true;
|
324
358
|
/**
|
325
|
-
*
|
326
|
-
* they fit their headers and row content. Defaults to `false`.
|
359
|
+
* Determines whether TreeList columns resize during initialization to fit their headers and row content.
|
327
360
|
* Columns with `autoSize` set to `false` are excluded.
|
328
|
-
* To dynamically update the column width to match
|
361
|
+
* To dynamically update the column width to match new content,
|
329
362
|
* refer to [this example]({% slug resizing_columns_treelist %}).
|
330
363
|
*
|
331
364
|
* @default false
|
332
365
|
*/
|
333
366
|
autoSize = false;
|
334
367
|
/**
|
335
|
-
*
|
336
|
-
*
|
368
|
+
* A function executed for every data row in the component. It should return a string that will be used as a CSS class for the row.
|
337
369
|
*/
|
338
370
|
set rowClass(fn) {
|
339
371
|
if (typeof fn !== 'function') {
|
@@ -351,39 +383,39 @@ export class TreeListComponent {
|
|
351
383
|
return this.navigationService.activeCell;
|
352
384
|
}
|
353
385
|
/**
|
354
|
-
*
|
386
|
+
* Gets the currently focused row (if any).
|
355
387
|
*/
|
356
388
|
get activeRow() {
|
357
389
|
return this.navigationService.activeRow;
|
358
390
|
}
|
359
391
|
/**
|
360
|
-
*
|
392
|
+
* When set to `true`, you can resize columns by dragging the edges (resize handles) of their header cells
|
361
393
|
* ([see example]({% slug resizing_columns_treelist %})).
|
362
394
|
*
|
363
395
|
* @default false
|
364
396
|
*/
|
365
397
|
resizable = false;
|
366
398
|
/**
|
367
|
-
*
|
399
|
+
* When set to `true`, you can reorder columns by dragging their header cells
|
368
400
|
* ([see example]({% slug reordering_columns_treelist %})).
|
369
401
|
*
|
370
402
|
* @default false
|
371
403
|
*/
|
372
404
|
reorderable = false;
|
373
405
|
/**
|
374
|
-
*
|
406
|
+
* Determines whether the TreeList displays the loading indicator ([see example]({% slug databinding_treelist %})).
|
375
407
|
*
|
376
408
|
* @default false
|
377
409
|
*/
|
378
410
|
loading = false;
|
379
411
|
/**
|
380
|
-
*
|
412
|
+
* Determines whether the column menu of the columns displays ([see example]({% slug columnmenu_treelist %})).
|
381
413
|
*
|
382
414
|
* @default false
|
383
415
|
*/
|
384
416
|
columnMenu = false;
|
385
417
|
/**
|
386
|
-
*
|
418
|
+
* Determines whether the TreeList hides the header. The header is visible by default.
|
387
419
|
*
|
388
420
|
* The header includes column headers and the [filter row](slug:filter_row_treelist).
|
389
421
|
*
|
@@ -391,7 +423,7 @@ export class TreeListComponent {
|
|
391
423
|
*/
|
392
424
|
hideHeader = false;
|
393
425
|
/**
|
394
|
-
*
|
426
|
+
* Sets the name of the field that contains the unique identifier of the node.
|
395
427
|
*
|
396
428
|
* @default "id"
|
397
429
|
*/
|
@@ -405,13 +437,13 @@ export class TreeListComponent {
|
|
405
437
|
this.editService.idGetter = this.idGetter;
|
406
438
|
}
|
407
439
|
/**
|
408
|
-
*
|
440
|
+
* Sets the TreeList selection settings.
|
409
441
|
*/
|
410
442
|
set selectable(value) {
|
411
443
|
this.selectionService.settings = value;
|
412
444
|
}
|
413
445
|
/**
|
414
|
-
*
|
446
|
+
* Sets a callback that determines if the given row or cell is selected.
|
415
447
|
*/
|
416
448
|
set isSelected(value) {
|
417
449
|
if (typeof value !== 'function' && isDevMode()) {
|
@@ -421,6 +453,7 @@ export class TreeListComponent {
|
|
421
453
|
}
|
422
454
|
/**
|
423
455
|
* Enables the [row reordering]({% slug treelist_row_reordering %}) of the TreeList.
|
456
|
+
*
|
424
457
|
* @default false
|
425
458
|
*/
|
426
459
|
set rowReorderable(value) {
|
@@ -441,102 +474,102 @@ export class TreeListComponent {
|
|
441
474
|
return this._rowReorderable;
|
442
475
|
}
|
443
476
|
/**
|
444
|
-
* Fires when the TreeList selection
|
477
|
+
* Fires when the TreeList selection changes.
|
445
478
|
*/
|
446
479
|
selectionChange = new EventEmitter();
|
447
480
|
/**
|
448
|
-
* Fires when the TreeList filter
|
449
|
-
* You have to handle the event
|
481
|
+
* Fires when you modify the TreeList filter through the UI.
|
482
|
+
* You have to handle the event and filter the data.
|
450
483
|
*/
|
451
484
|
filterChange = new EventEmitter();
|
452
485
|
/**
|
453
|
-
* Fires when the page of the TreeList
|
454
|
-
* You have to handle the event
|
486
|
+
* Fires when the page of the TreeList changes ([see example]({% slug paging_treelist %})).
|
487
|
+
* You have to handle the event and page the data.
|
455
488
|
*/
|
456
489
|
pageChange = new EventEmitter();
|
457
490
|
/**
|
458
|
-
* Fires when the sorting of the TreeList
|
459
|
-
* You have to handle the event
|
491
|
+
* Fires when the sorting of the TreeList changes ([see example]({% slug sorting_treelist %})).
|
492
|
+
* You have to handle the event and sort the data.
|
460
493
|
*/
|
461
494
|
sortChange = new EventEmitter();
|
462
495
|
/**
|
463
|
-
* Fires when the data state of the TreeList
|
496
|
+
* Fires when the data state of the TreeList changes.
|
464
497
|
*/
|
465
498
|
dataStateChange = new EventEmitter();
|
466
499
|
/**
|
467
|
-
* Fires when
|
500
|
+
* Fires when you click the **Edit** command button to edit a row
|
468
501
|
* ([see example]({% slug editing_template_forms_treelist %}#toc-editing-records)).
|
469
502
|
*/
|
470
503
|
edit = new EventEmitter();
|
471
504
|
/**
|
472
|
-
* Fires when
|
505
|
+
* Fires when you click the **Cancel** command button to close a row
|
473
506
|
* ([see example]({% slug editing_template_forms_treelist %}#toc-cancelling-editing)).
|
474
507
|
*/
|
475
508
|
cancel = new EventEmitter();
|
476
509
|
/**
|
477
|
-
* Fires when
|
510
|
+
* Fires when you click the **Save** command button to save changes in a row
|
478
511
|
* ([see example]({% slug editing_template_forms_treelist %}#toc-saving-records)).
|
479
512
|
*/
|
480
513
|
save = new EventEmitter();
|
481
514
|
/**
|
482
|
-
* Fires when
|
515
|
+
* Fires when you click the **Remove** command button to remove a row
|
483
516
|
* ([see example]({% slug editing_template_forms_treelist %}#toc-removing-records)).
|
484
517
|
*/
|
485
518
|
remove = new EventEmitter();
|
486
519
|
/**
|
487
|
-
* Fires when
|
520
|
+
* Fires when you click the **Add** command button to add a new row
|
488
521
|
* ([see example]({% slug editing_template_forms_treelist %}#toc-adding-records)).
|
489
522
|
*/
|
490
523
|
add = new EventEmitter();
|
491
524
|
/**
|
492
|
-
* Fires when
|
525
|
+
* Fires when you leave an edited cell ([see example]({% slug editing_incell_treelist %}#toc-basic-concepts)).
|
493
526
|
*/
|
494
527
|
cellClose = new EventEmitter();
|
495
528
|
/**
|
496
|
-
* Fires when
|
529
|
+
* Fires when you click a cell ([see example]({% slug editing_incell_treelist %}#toc-basic-concepts)).
|
497
530
|
*/
|
498
531
|
cellClick = new EventEmitter();
|
499
532
|
/**
|
500
|
-
* Fires when
|
533
|
+
* Fires when you click the **Export to PDF** command button.
|
501
534
|
*/
|
502
535
|
pdfExport = new EventEmitter();
|
503
536
|
/**
|
504
|
-
* Fires when
|
537
|
+
* Fires when you click the **Export to Excel** command button.
|
505
538
|
*/
|
506
539
|
excelExport = new EventEmitter();
|
507
540
|
/**
|
508
|
-
* Fires when
|
541
|
+
* Fires when you complete the resizing of the column.
|
509
542
|
*/
|
510
543
|
columnResize = new EventEmitter();
|
511
544
|
/**
|
512
|
-
* Fires when
|
545
|
+
* Fires when you complete the reordering of the column.
|
513
546
|
*/
|
514
547
|
columnReorder = new EventEmitter();
|
515
548
|
/**
|
516
|
-
* Fires when
|
549
|
+
* Fires when you change the visibility of the columns from the column menu or column chooser.
|
517
550
|
*/
|
518
551
|
columnVisibilityChange = new EventEmitter();
|
519
552
|
/**
|
520
|
-
* Fires when
|
553
|
+
* Fires when you change the locked state of the columns from the column menu or by reordering the columns.
|
521
554
|
*/
|
522
555
|
columnLockedChange = new EventEmitter();
|
523
556
|
/**
|
524
|
-
* Fires when
|
557
|
+
* Fires when you scroll to the last record on the page and enables endless scrolling
|
525
558
|
* ([see example]({% slug scrollmmodes_treelist %}#toc-endless-scrolling)).
|
526
|
-
* You have to handle the event
|
559
|
+
* You have to handle the event and page the data.
|
527
560
|
*/
|
528
561
|
scrollBottom = new EventEmitter();
|
529
562
|
/**
|
530
|
-
* Fires when the
|
531
|
-
* For performance reasons, the event
|
563
|
+
* Fires when the TreeList content scrolls.
|
564
|
+
* For performance reasons, the event triggers outside the Angular zone. Enter the Angular zone if you make any changes that require change detection.
|
532
565
|
*/
|
533
566
|
contentScroll = new EventEmitter();
|
534
567
|
/**
|
535
|
-
* Fires when an item
|
568
|
+
* Fires when an item expands.
|
536
569
|
*/
|
537
570
|
expandEvent = new EventEmitter();
|
538
571
|
/**
|
539
|
-
* Fires when an item
|
572
|
+
* Fires when an item collapses.
|
540
573
|
*/
|
541
574
|
collapseEvent = new EventEmitter();
|
542
575
|
/**
|
@@ -547,7 +580,7 @@ export class TreeListComponent {
|
|
547
580
|
*/
|
548
581
|
expandStateChange = new EventEmitter();
|
549
582
|
/**
|
550
|
-
* Fires when
|
583
|
+
* Fires when you drop the dragged row and reordering occurs.
|
551
584
|
* Emits the [RowReorderEvent]({% slug api_treelist_rowreorderevent %}).
|
552
585
|
*/
|
553
586
|
rowReorder = new EventEmitter();
|
@@ -719,7 +752,7 @@ export class TreeListComponent {
|
|
719
752
|
return this.view.totalRows;
|
720
753
|
}
|
721
754
|
/**
|
722
|
-
*
|
755
|
+
* Sets or gets the callback function that retrieves the child nodes for a particular node.
|
723
756
|
*/
|
724
757
|
set fetchChildren(value) {
|
725
758
|
this._fetchChildren = value;
|
@@ -728,7 +761,7 @@ export class TreeListComponent {
|
|
728
761
|
return this._fetchChildren;
|
729
762
|
}
|
730
763
|
/**
|
731
|
-
*
|
764
|
+
* Sets or gets the callback function that determines if a particular node has child nodes.
|
732
765
|
*/
|
733
766
|
set hasChildren(value) {
|
734
767
|
this._hasChildren = value;
|
@@ -737,7 +770,7 @@ export class TreeListComponent {
|
|
737
770
|
return this._hasChildren;
|
738
771
|
}
|
739
772
|
/**
|
740
|
-
* Sets the callback function that
|
773
|
+
* Sets the callback function that determines if a particular item is expanded.
|
741
774
|
*/
|
742
775
|
set isExpanded(value) {
|
743
776
|
this.expandStateService.isExpanded = value || defaultExpanded;
|
@@ -1034,12 +1067,14 @@ export class TreeListComponent {
|
|
1034
1067
|
}
|
1035
1068
|
}
|
1036
1069
|
/**
|
1037
|
-
* Switches the specified table row
|
1070
|
+
* Switches the specified table row to edit mode ([see example]({% slug editing_template_forms_treelist %}#toc-editing-records)).
|
1038
1071
|
*
|
1039
|
-
* @param dataItem
|
1072
|
+
* @param dataItem The data item that you will edit.
|
1040
1073
|
* @param group - The [`FormGroup`](link:site.data.urls.angular['formgroupapi'])
|
1041
1074
|
* that describes the edit form.
|
1042
|
-
* @param options
|
1075
|
+
* @param options Additional options. Use `skipFocus` to determine if the edit element of the row should receive focus.
|
1076
|
+
*
|
1077
|
+
* @default false
|
1043
1078
|
*/
|
1044
1079
|
editRow(dataItem, group, options) {
|
1045
1080
|
this.editService.editRow(dataItem, group);
|
@@ -1055,8 +1090,8 @@ export class TreeListComponent {
|
|
1055
1090
|
/**
|
1056
1091
|
* Closes the editor for a given row ([see example]({% slug editing_template_forms_treelist %}#toc-cancelling-editing)).
|
1057
1092
|
*
|
1058
|
-
* @param
|
1059
|
-
* @param
|
1093
|
+
* @param dataItem The data item that you will switch out of edit mode.
|
1094
|
+
* @param isNew Determines whether the data item is new.
|
1060
1095
|
*/
|
1061
1096
|
closeRow(dataItem, isNew) {
|
1062
1097
|
this.editService.close(dataItem, isNew);
|
@@ -1071,8 +1106,8 @@ export class TreeListComponent {
|
|
1071
1106
|
/**
|
1072
1107
|
* Creates a new row editor ([see example]({% slug editing_template_forms_treelist %}#toc-adding-records)).
|
1073
1108
|
*
|
1074
|
-
* @param
|
1075
|
-
* the edit form. If called with a data item, it
|
1109
|
+
* @param group The [`FormGroup`](link:site.data.urls.angular['formgroupapi']) that describes
|
1110
|
+
* the edit form. If called with a data item, it builds the `FormGroup` from the data item fields.
|
1076
1111
|
*/
|
1077
1112
|
addRow(group, parent) {
|
1078
1113
|
const isFormGroup = group instanceof FormGroup;
|
@@ -1098,11 +1133,11 @@ export class TreeListComponent {
|
|
1098
1133
|
});
|
1099
1134
|
}
|
1100
1135
|
/**
|
1101
|
-
* Puts the cell that
|
1136
|
+
* Puts the cell that you specify by the table row and column in edit mode.
|
1102
1137
|
*
|
1103
|
-
* @param
|
1104
|
-
* @param
|
1105
|
-
* @param
|
1138
|
+
* @param dataItem The data item that you will edit.
|
1139
|
+
* @param column The leaf column index, or the field name or the column instance that should be edited.
|
1140
|
+
* @param group The [`FormGroup`](link:site.data.urls.angular['formgroupapi'])
|
1106
1141
|
* that describes the edit form.
|
1107
1142
|
*/
|
1108
1143
|
editCell(dataItem, column, group) {
|
@@ -1116,9 +1151,8 @@ export class TreeListComponent {
|
|
1116
1151
|
* Closes the current cell in edit mode and fires
|
1117
1152
|
* the [`cellClose`]({% slug api_treelist_treelistcomponent %}#toc-cellclose) event.
|
1118
1153
|
*
|
1119
|
-
* @return
|
1120
|
-
* A `false` value indicates that the
|
1121
|
-
* [`cellClose`]({% slug api_treelist_treelistcomponent %}#toc-cellclose) event was prevented.
|
1154
|
+
* @return {boolean} A Boolean value that indicates whether the edited cell closed.
|
1155
|
+
* A `false` value indicates that the [`cellClose`]({% slug api_treelist_treelistcomponent %}#toc-cellclose) event was prevented.
|
1122
1156
|
*/
|
1123
1157
|
closeCell() {
|
1124
1158
|
return !this.editService.closeCell();
|
@@ -1131,23 +1165,23 @@ export class TreeListComponent {
|
|
1131
1165
|
this.view.updateEditedState();
|
1132
1166
|
}
|
1133
1167
|
/**
|
1134
|
-
*
|
1168
|
+
* Gets a flag that indicates if a row or a cell is currently edited.
|
1135
1169
|
*
|
1136
|
-
* @return {boolean} A flag
|
1170
|
+
* @return {boolean} A Boolean flag that indicates if a row or a cell is currently edited.
|
1137
1171
|
*/
|
1138
1172
|
isEditing() {
|
1139
1173
|
return this.editService.isEditing();
|
1140
1174
|
}
|
1141
1175
|
/**
|
1142
|
-
*
|
1176
|
+
* Gets a flag that indicates if a cell is currently edited.
|
1143
1177
|
*
|
1144
|
-
* @return {boolean} A flag
|
1178
|
+
* @return {boolean} A Boolean flag that indicates if a cell is currently being edited.
|
1145
1179
|
*/
|
1146
1180
|
isEditingCell() {
|
1147
1181
|
return this.editService.isEditing() && this.editService.isEditingCell();
|
1148
1182
|
}
|
1149
1183
|
/**
|
1150
|
-
*
|
1184
|
+
* Starts the PDF export ([see example]({% slug pdfexport_treelist %})).
|
1151
1185
|
*/
|
1152
1186
|
saveAsPDF() {
|
1153
1187
|
this.pdfService.save(this);
|
@@ -1156,7 +1190,7 @@ export class TreeListComponent {
|
|
1156
1190
|
* Exports the TreeList element to a Drawing [`Group`]({% slug api_kendo-drawing_group %}) by using the `kendo-treelist-pdf` component options.
|
1157
1191
|
* ([see example]({% slug pdfexport_treelist %}#toc-exporting-multiple-treelists-to-the-same-pdf)).
|
1158
1192
|
*
|
1159
|
-
* @return {Promise} A promise that
|
1193
|
+
* @return {Promise} A promise that resolves with the Drawing `Group`.
|
1160
1194
|
*/
|
1161
1195
|
drawPDF() {
|
1162
1196
|
const promise = createPromise();
|
@@ -1164,7 +1198,7 @@ export class TreeListComponent {
|
|
1164
1198
|
return promise;
|
1165
1199
|
}
|
1166
1200
|
/**
|
1167
|
-
*
|
1201
|
+
* Starts the Excel export ([see example]({% slug excelexport_treelist %})).
|
1168
1202
|
*/
|
1169
1203
|
saveAsExcel() {
|
1170
1204
|
this.excelService.save(this);
|
@@ -1173,16 +1207,15 @@ export class TreeListComponent {
|
|
1173
1207
|
* Applies the minimum possible width for the specified column,
|
1174
1208
|
* so that the whole text fits without wrapping. This method expects the TreeList
|
1175
1209
|
* to be resizable (set `resizable` to `true`).
|
1176
|
-
*
|
1210
|
+
* Execute this method only
|
1177
1211
|
* after the TreeList is already populated with data. [See example](slug:resizing_columns_treelist#toc-auto-fitting-the-content).
|
1178
|
-
*
|
1179
1212
|
*/
|
1180
1213
|
autoFitColumn(column) {
|
1181
1214
|
this.columnResizingService.autoFit(column);
|
1182
1215
|
}
|
1183
1216
|
/**
|
1184
1217
|
* Adjusts the width of the specified columns to fit the entire content, including headers, without wrapping.
|
1185
|
-
* If
|
1218
|
+
* If you do not specify columns, `autoFitColumns` applies to all columns.
|
1186
1219
|
*
|
1187
1220
|
* This method requires the TreeList to be resizable (set `resizable` to `true`).
|
1188
1221
|
* [See example](slug:resizing_columns_treelist#toc-auto-fitting-the-content).
|
@@ -1268,8 +1301,8 @@ export class TreeListComponent {
|
|
1268
1301
|
* The row indexing is absolute and does not change with paging.
|
1269
1302
|
* Header rows are included, starting at index 0.
|
1270
1303
|
*
|
1271
|
-
* If the TreeList is configured for scrolling, including virtual scrolling, the scroll position
|
1272
|
-
* If the row is not present on the current page, the method
|
1304
|
+
* If the TreeList is configured for scrolling, including virtual scrolling, the scroll position updates.
|
1305
|
+
* If the row is not present on the current page, the method has no effect.
|
1273
1306
|
*
|
1274
1307
|
* @param rowIndex - The logical row index to focus. The top header row has an index 0.
|
1275
1308
|
* @param colIndex - The column index to focus.
|
@@ -1283,8 +1316,10 @@ export class TreeListComponent {
|
|
1283
1316
|
/**
|
1284
1317
|
* Focuses the next cell, optionally wrapping to the next row.
|
1285
1318
|
*
|
1286
|
-
* @param wrap
|
1287
|
-
* @
|
1319
|
+
* @param wrap A Boolean value that indicates if the focus moves to the next row.
|
1320
|
+
* @return {NavigationCell} The focused cell. If the focus is already on the last cell, returns `null`.
|
1321
|
+
*
|
1322
|
+
* @default true
|
1288
1323
|
*/
|
1289
1324
|
focusNextCell(wrap = true) {
|
1290
1325
|
this.assertNavigable();
|
@@ -1293,15 +1328,17 @@ export class TreeListComponent {
|
|
1293
1328
|
/**
|
1294
1329
|
* Focuses the previous cell. Optionally wraps to the previous row.
|
1295
1330
|
*
|
1296
|
-
* @param wrap
|
1297
|
-
* @
|
1331
|
+
* @param wrap A Boolean value that indicates if the focus moves to the next row.
|
1332
|
+
* @return {NavigationCell} The focused cell. If the focus is already on the first cell, returns `null`.
|
1333
|
+
*
|
1334
|
+
* @default true
|
1298
1335
|
*/
|
1299
1336
|
focusPrevCell(wrap = true) {
|
1300
1337
|
this.assertNavigable();
|
1301
1338
|
return this.navigationService.focusPrevCell(wrap);
|
1302
1339
|
}
|
1303
1340
|
/**
|
1304
|
-
* Scrolls to the specified row and column
|
1341
|
+
* Scrolls to the specified row and column.
|
1305
1342
|
*/
|
1306
1343
|
scrollTo(request) {
|
1307
1344
|
this.scrollRequestService.scrollTo(request);
|
@@ -1309,14 +1346,13 @@ export class TreeListComponent {
|
|
1309
1346
|
/**
|
1310
1347
|
* Changes the position of the specified column.
|
1311
1348
|
* The reordering of columns operates only on the level
|
1312
|
-
*
|
1349
|
+
* that the source column infers.
|
1313
1350
|
* For the `reorderColumn` method to work properly,
|
1314
1351
|
* the `source` column has to be visible.
|
1315
1352
|
*
|
1316
|
-
* @param
|
1317
|
-
* @param
|
1318
|
-
* @param
|
1319
|
-
*
|
1353
|
+
* @param source The column whose position you will change.
|
1354
|
+
* @param destIndex The new position of the column.
|
1355
|
+
* @param options Additional options.
|
1320
1356
|
*/
|
1321
1357
|
reorderColumn(source, destIndex, options = { before: false }) {
|
1322
1358
|
const columnsForLevel = sortColumns(this.allColumnsForLevel(source.level));
|
@@ -1340,7 +1376,7 @@ export class TreeListComponent {
|
|
1340
1376
|
});
|
1341
1377
|
}
|
1342
1378
|
/**
|
1343
|
-
* Clears the already loaded children for the
|
1379
|
+
* Clears the already loaded children for the data item so that the TreeList fetches them again the next time it renders.
|
1344
1380
|
*/
|
1345
1381
|
reload(dataItem, reloadChildren) {
|
1346
1382
|
if (dataItem) {
|
@@ -1365,14 +1401,14 @@ export class TreeListComponent {
|
|
1365
1401
|
this.changeDetectorRef.markForCheck();
|
1366
1402
|
}
|
1367
1403
|
/**
|
1368
|
-
* Expands the row for the specified
|
1404
|
+
* Expands the row for the specified data item.
|
1369
1405
|
*/
|
1370
1406
|
expand(dataItem) {
|
1371
1407
|
this.expandStateService.expand(dataItem);
|
1372
1408
|
this.changeDetectorRef.markForCheck();
|
1373
1409
|
}
|
1374
1410
|
/**
|
1375
|
-
* Collapses the row for the specified
|
1411
|
+
* Collapses the row for the specified data item.
|
1376
1412
|
*/
|
1377
1413
|
collapse(dataItem) {
|
1378
1414
|
this.expandStateService.collapse(dataItem);
|
@@ -2256,7 +2292,7 @@ export class TreeListComponent {
|
|
2256
2292
|
(pageTextVisibilityChange)="handlePagerVisibilityChange('showPagerPageText', $event)"
|
2257
2293
|
(itemsTextVisibilityChange)="handlePagerVisibilityChange('showPagerItemsText', $event)">
|
2258
2294
|
<ng-template kendoPagerTemplate>
|
2259
|
-
<ng-container
|
2295
|
+
<ng-container
|
2260
2296
|
[ngTemplateOutlet]="pagerTemplate ? pagerTemplate?.templateRef : defaultPager"
|
2261
2297
|
[ngTemplateOutletContext]="pager.templateContext"></ng-container>
|
2262
2298
|
</ng-template>
|
@@ -2777,7 +2813,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
2777
2813
|
(pageTextVisibilityChange)="handlePagerVisibilityChange('showPagerPageText', $event)"
|
2778
2814
|
(itemsTextVisibilityChange)="handlePagerVisibilityChange('showPagerItemsText', $event)">
|
2779
2815
|
<ng-template kendoPagerTemplate>
|
2780
|
-
<ng-container
|
2816
|
+
<ng-container
|
2781
2817
|
[ngTemplateOutlet]="pagerTemplate ? pagerTemplate?.templateRef : defaultPager"
|
2782
2818
|
[ngTemplateOutletContext]="pager.templateContext"></ng-container>
|
2783
2819
|
</ng-template>
|