@syncfusion/ej2-angular-treegrid 27.2.3 → 28.1.33-ngcc

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.
Files changed (51) hide show
  1. package/@syncfusion/ej2-angular-treegrid.es5.js +798 -0
  2. package/@syncfusion/ej2-angular-treegrid.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-treegrid.js +748 -0
  4. package/@syncfusion/ej2-angular-treegrid.js.map +1 -0
  5. package/README.md +7 -7
  6. package/dist/ej2-angular-treegrid.umd.js +980 -0
  7. package/dist/ej2-angular-treegrid.umd.js.map +1 -0
  8. package/dist/ej2-angular-treegrid.umd.min.js +11 -0
  9. package/dist/ej2-angular-treegrid.umd.min.js.map +1 -0
  10. package/ej2-angular-treegrid.d.ts +5 -0
  11. package/ej2-angular-treegrid.metadata.json +1 -0
  12. package/license +10 -0
  13. package/package.json +15 -28
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/treegrid/aggregate-columns.directive.d.ts +0 -5
  18. package/src/treegrid/aggregates.directive.d.ts +0 -5
  19. package/src/treegrid/columns.directive.d.ts +0 -5
  20. package/src/treegrid/stacked-column.directive.d.ts +0 -5
  21. package/src/treegrid/treegrid-all.module.d.ts +0 -6
  22. package/src/treegrid/treegrid.component.d.ts +0 -3
  23. package/src/treegrid/treegrid.module.d.ts +0 -10
  24. package/styles/bds-lite.css +1 -0
  25. package/styles/bds-lite.scss +1 -0
  26. package/styles/bds.css +1 -0
  27. package/styles/bds.scss +1 -0
  28. package/styles/tailwind3-lite.css +1 -0
  29. package/styles/tailwind3-lite.scss +1 -0
  30. package/styles/tailwind3.css +1 -0
  31. package/styles/tailwind3.scss +1 -0
  32. package/styles/treegrid/bds.css +1 -0
  33. package/styles/treegrid/bds.scss +1 -0
  34. package/styles/treegrid/tailwind3.css +1 -0
  35. package/styles/treegrid/tailwind3.scss +1 -0
  36. package/CHANGELOG.md +0 -271
  37. package/esm2020/public_api.mjs +0 -2
  38. package/esm2020/src/index.mjs +0 -9
  39. package/esm2020/src/treegrid/aggregate-columns.directive.mjs +0 -72
  40. package/esm2020/src/treegrid/aggregates.directive.mjs +0 -69
  41. package/esm2020/src/treegrid/columns.directive.mjs +0 -100
  42. package/esm2020/src/treegrid/stacked-column.directive.mjs +0 -100
  43. package/esm2020/src/treegrid/treegrid-all.module.mjs +0 -89
  44. package/esm2020/src/treegrid/treegrid.component.mjs +0 -247
  45. package/esm2020/src/treegrid/treegrid.module.mjs +0 -61
  46. package/esm2020/syncfusion-ej2-angular-treegrid.mjs +0 -5
  47. package/fesm2015/syncfusion-ej2-angular-treegrid.mjs +0 -710
  48. package/fesm2015/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
  49. package/fesm2020/syncfusion-ej2-angular-treegrid.mjs +0 -710
  50. package/fesm2020/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
  51. package/syncfusion-ej2-angular-treegrid.d.ts +0 -5
@@ -3,7 +3,6 @@ import { IComponentBase } from '@syncfusion/ej2-angular-base';
3
3
  import { TreeGrid } from '@syncfusion/ej2-treegrid';
4
4
  import { ColumnsDirective } from './columns.directive';
5
5
  import { AggregatesDirective } from './aggregates.directive';
6
- import * as i0 from "@angular/core";
7
6
  export declare const inputs: string[];
8
7
  export declare const outputs: string[];
9
8
  export declare const twoWays: string[];
@@ -119,6 +118,4 @@ export declare class TreeGridComponent extends TreeGrid implements IComponentBas
119
118
  ngAfterContentChecked(): void;
120
119
  registerEvents: (eventList: string[]) => void;
121
120
  addTwoWay: (propList: string[]) => void;
122
- static ɵfac: i0.ɵɵFactoryDeclaration<TreeGridComponent, never>;
123
- static ɵcmp: i0.ɵɵComponentDeclaration<TreeGridComponent, "ejs-treegrid", never, { "aggregates": "aggregates"; "allowExcelExport": "allowExcelExport"; "allowFiltering": "allowFiltering"; "allowMultiSorting": "allowMultiSorting"; "allowPaging": "allowPaging"; "allowPdfExport": "allowPdfExport"; "allowReordering": "allowReordering"; "allowResizing": "allowResizing"; "allowRowDragAndDrop": "allowRowDragAndDrop"; "allowSelection": "allowSelection"; "allowSorting": "allowSorting"; "allowTextWrap": "allowTextWrap"; "autoCheckHierarchy": "autoCheckHierarchy"; "childMapping": "childMapping"; "clipMode": "clipMode"; "columnMenuItems": "columnMenuItems"; "columnQueryMode": "columnQueryMode"; "columns": "columns"; "contextMenuItems": "contextMenuItems"; "copyHierarchyMode": "copyHierarchyMode"; "currencyCode": "currencyCode"; "dataSource": "dataSource"; "detailTemplate": "detailTemplate"; "editSettings": "editSettings"; "enableAdaptiveUI": "enableAdaptiveUI"; "enableAltRow": "enableAltRow"; "enableAutoFill": "enableAutoFill"; "enableCollapseAll": "enableCollapseAll"; "enableColumnVirtualization": "enableColumnVirtualization"; "enableHover": "enableHover"; "enableHtmlSanitizer": "enableHtmlSanitizer"; "enableImmutableMode": "enableImmutableMode"; "enableInfiniteScrolling": "enableInfiniteScrolling"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "enableVirtualMaskRow": "enableVirtualMaskRow"; "enableVirtualization": "enableVirtualization"; "expandStateMapping": "expandStateMapping"; "filterSettings": "filterSettings"; "frozenColumns": "frozenColumns"; "frozenRows": "frozenRows"; "gridLines": "gridLines"; "hasChildMapping": "hasChildMapping"; "height": "height"; "idMapping": "idMapping"; "infiniteScrollSettings": "infiniteScrollSettings"; "loadChildOnDemand": "loadChildOnDemand"; "loadingIndicator": "loadingIndicator"; "locale": "locale"; "pageSettings": "pageSettings"; "parentIdMapping": "parentIdMapping"; "printMode": "printMode"; "query": "query"; "rowDropSettings": "rowDropSettings"; "rowHeight": "rowHeight"; "rowTemplate": "rowTemplate"; "searchSettings": "searchSettings"; "selectedRowIndex": "selectedRowIndex"; "selectionSettings": "selectionSettings"; "showColumnChooser": "showColumnChooser"; "showColumnMenu": "showColumnMenu"; "sortSettings": "sortSettings"; "textWrapSettings": "textWrapSettings"; "toolbar": "toolbar"; "treeColumnIndex": "treeColumnIndex"; "width": "width"; }, { "actionBegin": "actionBegin"; "actionComplete": "actionComplete"; "actionFailure": "actionFailure"; "batchAdd": "batchAdd"; "batchCancel": "batchCancel"; "batchDelete": "batchDelete"; "beforeBatchAdd": "beforeBatchAdd"; "beforeBatchDelete": "beforeBatchDelete"; "beforeBatchSave": "beforeBatchSave"; "beforeCopy": "beforeCopy"; "beforeDataBound": "beforeDataBound"; "beforeExcelExport": "beforeExcelExport"; "beforePaste": "beforePaste"; "beforePdfExport": "beforePdfExport"; "beforePrint": "beforePrint"; "beginEdit": "beginEdit"; "cellDeselected": "cellDeselected"; "cellDeselecting": "cellDeselecting"; "cellEdit": "cellEdit"; "cellSave": "cellSave"; "cellSaved": "cellSaved"; "cellSelected": "cellSelected"; "cellSelecting": "cellSelecting"; "checkboxChange": "checkboxChange"; "collapsed": "collapsed"; "collapsing": "collapsing"; "columnDrag": "columnDrag"; "columnDragStart": "columnDragStart"; "columnDrop": "columnDrop"; "columnMenuClick": "columnMenuClick"; "columnMenuOpen": "columnMenuOpen"; "contextMenuClick": "contextMenuClick"; "contextMenuOpen": "contextMenuOpen"; "created": "created"; "dataBound": "dataBound"; "dataSourceChanged": "dataSourceChanged"; "dataStateChange": "dataStateChange"; "detailDataBound": "detailDataBound"; "excelExportComplete": "excelExportComplete"; "excelHeaderQueryCellInfo": "excelHeaderQueryCellInfo"; "excelQueryCellInfo": "excelQueryCellInfo"; "expanded": "expanded"; "expanding": "expanding"; "headerCellInfo": "headerCellInfo"; "load": "load"; "pdfExportComplete": "pdfExportComplete"; "pdfHeaderQueryCellInfo": "pdfHeaderQueryCellInfo"; "pdfQueryCellInfo": "pdfQueryCellInfo"; "printComplete": "printComplete"; "queryCellInfo": "queryCellInfo"; "recordDoubleClick": "recordDoubleClick"; "resizeStart": "resizeStart"; "resizeStop": "resizeStop"; "resizing": "resizing"; "rowDataBound": "rowDataBound"; "rowDeselected": "rowDeselected"; "rowDeselecting": "rowDeselecting"; "rowDrag": "rowDrag"; "rowDragStart": "rowDragStart"; "rowDragStartHelper": "rowDragStartHelper"; "rowDrop": "rowDrop"; "rowSelected": "rowSelected"; "rowSelecting": "rowSelecting"; "toolbarClick": "toolbarClick"; "dataSourceChange": "dataSourceChange"; }, ["toolbarTemplate", "pagerTemplate", "rowTemplate", "detailTemplate", "editSettings_template", "childColumns", "childAggregates"], never>;
124
121
  }
@@ -1,15 +1,5 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./treegrid.component";
3
- import * as i2 from "./stacked-column.directive";
4
- import * as i3 from "./columns.directive";
5
- import * as i4 from "./aggregate-columns.directive";
6
- import * as i5 from "./aggregates.directive";
7
- import * as i6 from "@angular/common";
8
1
  /**
9
2
  * NgModule definition for the TreeGrid component.
10
3
  */
11
4
  export declare class TreeGridModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TreeGridModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<TreeGridModule, [typeof i1.TreeGridComponent, typeof i2.StackedColumnDirective, typeof i2.StackedColumnsDirective, typeof i3.ColumnDirective, typeof i3.ColumnsDirective, typeof i4.AggregateColumnDirective, typeof i4.AggregateColumnsDirective, typeof i5.AggregateDirective, typeof i5.AggregatesDirective], [typeof i6.CommonModule], [typeof i1.TreeGridComponent, typeof i2.StackedColumnDirective, typeof i2.StackedColumnsDirective, typeof i3.ColumnDirective, typeof i3.ColumnsDirective, typeof i4.AggregateColumnDirective, typeof i4.AggregateColumnsDirective, typeof i5.AggregateDirective, typeof i5.AggregatesDirective]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<TreeGridModule>;
15
5
  }
@@ -0,0 +1 @@
1
+ @import '@syncfusion/ej2-treegrid/styles/bds-lite.css';
@@ -0,0 +1 @@
1
+ @import 'ej2-treegrid/styles/bds-lite.scss';
package/styles/bds.css ADDED
@@ -0,0 +1 @@
1
+ @import '@syncfusion/ej2-treegrid/styles/bds.css';
@@ -0,0 +1 @@
1
+ @import 'treegrid/bds.scss';
@@ -0,0 +1 @@
1
+ @import '@syncfusion/ej2-treegrid/styles/tailwind3-lite.css';
@@ -0,0 +1 @@
1
+ @import 'ej2-treegrid/styles/tailwind3-lite.scss';
@@ -0,0 +1 @@
1
+ @import '@syncfusion/ej2-treegrid/styles/tailwind3.css';
@@ -0,0 +1 @@
1
+ @import 'treegrid/tailwind3.scss';
@@ -0,0 +1 @@
1
+ @import '@syncfusion/ej2-treegrid/styles/treegrid/bds.css';
@@ -0,0 +1 @@
1
+ @import 'ej2-treegrid/styles/treegrid/bds.scss';
@@ -0,0 +1 @@
1
+ @import '@syncfusion/ej2-treegrid/styles/treegrid/tailwind3.css';
@@ -0,0 +1 @@
1
+ @import 'ej2-treegrid/styles/treegrid/tailwind3.scss';
package/CHANGELOG.md DELETED
@@ -1,271 +0,0 @@
1
- # Changelog
2
-
3
- ## [Unreleased]
4
-
5
- ### Tree Grid
6
-
7
- #### Bug Fixes
8
-
9
- - `#I643179` - Keyboard selection with up and down key scroll actions now working properly when virtualization is enabled.
10
-
11
- ## 27.2.2 (2024-11-15)
12
-
13
- ### Tree Grid
14
-
15
- #### Bug Fixes
16
-
17
- - `#I644706` - Resolved issues related to cell editing when virtualization is enabled.
18
- - `#I646360` - `Dialog` now renders properly when both the template column and detail template are enabled in Tree Grid.
19
- - `#I644696` - Page refreshes now prevented when adding a record on the last page with virtualization enabled.
20
-
21
- ## 27.1.56 (2024-10-23)
22
-
23
- ### Tree Grid
24
-
25
- #### Bug Fixes
26
-
27
- - `#F61285` - Resolved an issue with unwanted mouse wheel scrolling during row drag and drop operations.
28
-
29
- ## 27.1.55 (2024-10-22)
30
-
31
- ### Tree Grid
32
-
33
- #### Bug Fixes
34
-
35
- - `#I625060` - Fixed an issue where the delete action would not function correctly when the expand/collapse icon was clicked repeatedly.
36
- - `F61804` - Fixed an issue where the selection was not clearing when a checkbox was selected and the row was expanded.
37
- - `#I637870` - White space when expand and collapse action issue has been fixed.
38
-
39
- - `F61804` - Fixed an issue where the selection was not clearing when a checkbox was selected and the row was expanded.
40
-
41
- ## 27.1.53 (2024-10-15)
42
-
43
- ### Tree Grid
44
-
45
- #### Bug Fixes
46
-
47
- - `#F61461` - Fixed an issue where the scroll position was not maintained correctly when using `enablePersistence`.
48
- - `#I635845` - The alignment issue with aggregates and treegrid columns has been fixed when `allowResizing` and `frozenColumns` are enabled.
49
-
50
- - `#I635845` - The alignment issue with aggregates and treegrid columns has been fixed when `allowResizing` and `frozenColumns` are enabled.
51
-
52
- ## 27.1.51 (2024-09-30)
53
-
54
- ### Tree Grid
55
-
56
- #### Bug Fixes
57
-
58
- - `#I632368` - Last record removed during virtual scroll issue has been fixed.
59
-
60
- ## 27.1.48 (2024-09-18)
61
-
62
- ### Tree Grid
63
-
64
- #### Features
65
-
66
- - `#I341079` - Provided support for exporting data to PDF, CSV, and Excel formats using server-side functionality. Please find the demo [here](https://ej2.syncfusion.com/aspnetcore/TreeGrid/ServerSideExporting#/material3).
67
-
68
- - Added support for the new `fixed` mode within the `freeze` property of column settings. When a column is set as `fixed`, it will stay within the viewport during horizontal scrolling, enhancing the user experience with improved visibility and efficiency.
69
-
70
- - Provided support for inline editing with virtualization enabled. Please find the demo [here](https://ej2.syncfusion.com/angular/demos/#/bootstrap5/treegrid/virtual-scrolling).
71
- - `#I323425`, `#I332700`, `#I344742`, `#I375307` - Provided support for frozen column with virtualization enabled.
72
- - `#F166825` - Provided support for infinite scrolling with observable binding.
73
-
74
- #### Breaking Changes
75
-
76
- - Optimized the frozen columns feature in Tree Grid and thus changed the dom structure of tree grid from two table to single table architecture. Also, the following methods have been removed, and it's recommended to use the following alternatives instead.
77
-
78
- | Removed methods | Suggested to use alternative methods |
79
- |----------|----------|
80
- | `getMoavableRows`, `getFrozenRightRows` | `getRows` |
81
- | `getMovableRowByIndex`, `getFrozenRowByIndex`, `getFrozenRightRowByIndex` | `getRowByIndex` |
82
- | `getMovableCellFromIndex`, `getFrozenRightCellFromIndex` | `getCellFromIndex` |
83
- | `getMovableDataRows`, `getFrozenRightDataRows`, `getFrozenDataRows` | `getDataRows` |
84
- | `getAllMovableDataRows`, `getAllFrozenDataRows`, `getAllFrozenRightDataRows` | `getAllDataRows` |
85
- | `getMovableColumnHeaderByIndex`, `getFrozenRightColumnHeaderByIndex`, `getFrozenLeftColumnHeaderByIndex` | `getColumnHeaderByIndex` |
86
- | `getFrozenRightHeader`, `getMovableHeader` | `getHeaderContent` |
87
- | `getFrozenRightRowsObject`, `getMovableRwsObject` | `getRowsObject` |
88
- | `getFrozenRightHeaderTbody`, `getMovableHeaderTbody`, `getFrozenHeaderTbody` | `getContent().querySelector(‘tbody’)` |
89
- | `getFrozenLeftContentTbody`, `getFrozenRightContentTbody`, `getMovableContentTbody` | `getHeaderContent().querySelector(‘tbody’)` |
90
- | `getFrozenRightContent`, `getMovableContent` | `getContent` |
91
-
92
- ## 20.2.36 (2022-06-30)
93
-
94
- ### Tree Grid
95
-
96
- #### Features
97
-
98
- - Provided support for inline editing with virtualization enabled. Please find the demo [here](https://ej2.syncfusion.com/demos/#/bootstrap5/tree-grid/virtual-scrolling.html).
99
- - `#I323425`, `#I332700`, `#I344742`, `#I375307` - Provided support for frozen column with virtualization enabled.
100
-
101
- - `#I334966`, `#I373929`, `#I332693`, `#I342835`, `#F172606`, `#F171250`, `#F171248` - Provided row drag and drop support with virtualization feature enabled.
102
- - `#I367483` - Provided support for row indent and outdent functionality. Please find the demo link [here](https://ej2.syncfusion.com/angular/demos/#/bootstrap5/treegrid/inlineediting).
103
-
104
- ## 19.2.44 (2021-06-30)
105
-
106
- ### Tree Grid
107
-
108
- #### Bug Fixes
109
-
110
- - `#332604` - Resolved white space issue while using less number of records with Virtualization.
111
-
112
- - `#I329350` - Immutable mode works fine for date values and row reordering.
113
- - `#I329988`, `#I331155` - Editing a newly added child record works fine with self referential data.
114
-
115
- ## 18.4.30 (2020-12-17)
116
-
117
- ### Tree Grid
118
-
119
- #### New Features
120
-
121
- - `#294082` - Provided Immutable Support to refresh specific rows while perform Tree Grid actions.
122
- - `#283491` - Provided error handling support to easily rectify errors in sample side.
123
- - `#298682`, `#299561` - Added getVisibleRecords API to get the visible records based on collapsed rows state.
124
-
125
- #### Bug Fixes
126
-
127
- - `#F157882`- After editing the row using `updateRow` method, `getCurrentViewRecords` method updated properly.
128
- - `#F157882`- When editing with a double click, it works fine when we only have one record.
129
- - `#289600` - Records get expanded properly after collapsing all records using `collapseAtLevel` method in observable binding.
130
- - `#F157099` - Virtualization with Aggregates works fine with large number of records.
131
- - `#296233` - Row Drag and Drop within treegrid works fine.
132
- - `#297986` - Row Drag and drop within treegrid works fine with checkbox enabled.
133
- - `#F158886` - Cell editing with frozen columns works fine.
134
- - `#299761` - Treegrid column width renders fine in Internet Explorer when Virtualization is enabled.
135
- - `#301861` - Tree Grid dataSource updated properly while using setCellValue method.
136
- - `#F159697` - Order of child records are displayed correctly after editing in remote data binding.
137
- - `292453` - Treegrid refresh method works fine after updating the data.
138
-
139
- - `#289600` - Records get expanded properly after collapsing all records using `collapseAtLevel` method in observable binding.
140
- - `#F157099` - Virtualization with Aggregates works fine with large number of records.
141
- - `#297986` - Row Drag and drop within treegrid works fine with checkbox enabled.
142
- - `#F158886` - Cell editing with frozen columns works fine.
143
- - `#F159697` - Order of child records are displayed correctly after editing in remote data binding.
144
-
145
- ## 18.3.35 (2020-10-01)
146
-
147
- ### TreeGrid
148
-
149
- #### Bug Fixes
150
-
151
- - `#F157258` - `updateRow` method works fine for updating collapsed data.
152
- - `#292933` - checkbox rendered properly while using the template column.
153
- - `#289685` - Aggregate Column Formatting is working fine
154
- - `#288542` - The Expand / Collapse icon has been rendered properly while enabling expand state mapping and adding a new record.
155
- - `#287235` - While enabling expand state mapping the Expand / Collapse icon works fine at nested child levels.
156
- - `#285434`- Column SortComparer function works fine with null values for RemoteSaveAdaptor datasource.
157
- - `#284987`- Records rendered properly while using remote save adaptor in created event.
158
- - `#285434`- Column SortComparer function works fine with null values in datasource.
159
- - `#F155077`- Records rendered properly while using remote data with jQuery unobtrusive library.
160
-
161
- - `#F157258` - `updateRow` method works fine for updating collapsed data.
162
-
163
- ## 18.2.44 (2020-07-07)
164
-
165
- ### TreeGrid
166
-
167
- #### Bug Fixes
168
-
169
- - `#279109` - Checkbox checked properly for child records in remote data.
170
- - `#277364`, `#279732` - Checkbox with `allowRowDragAndDrop` property rendered properly after editing and cancelling in cell edit mode.
171
- - `#277364` - Checkbox with `autoCheckHierarchy` property rendered properly after editing and cancelling in cell edit mode.
172
- - `#278266` - Edit type `dropdownedit` is working properly in cell edit mode when enter key is pressed.
173
- - `#272026` - `updateRow` method works fine for updating treegrid data source.
174
- - `#273309` - Editing the zeroth level added record works fine in Batch mode.
175
- - `#277361` - Auto generated columns work fine when two treegrids are rendered on the same page.
176
-
177
- - `F153495` - Sorting after editing is working fine with cell edit mode.
178
- - `#266963`- Drag and drop works fine in unordered list of data.
179
- - `#F151795` - Localization support works fine in Add row, Above, Below Context Menu Items.
180
- - `#F151795`- In Drag and drop, while dropping at first row, its border color is changed properly.
181
-
182
- #### New Features
183
-
184
- - `#258863`, `#271677` - Expand & Collapse child rows support has been provided in Excel Export.
185
- - Columnchooser support has been provided that allows user to show or hide columns dynamically.
186
- - Provided support for Editing with Virtualization feature.
187
-
188
- #### Breaking Changes
189
-
190
- - Now `data`, `row` these Tree Grid selection event arguments are get array values only when we perform multi selection. Please find modified event arguments and it types from the below table,
191
-
192
- `Properties` |`Type`
193
- -----|-----
194
- `data` | `Object or Object[]`
195
- `rowIndex` | `number`
196
- `rowIndexes` | `number[]`
197
- `row` | `Element or Element[]`
198
-
199
- ## 17.4.39 (2019-12-17)
200
-
201
- ### TreeGrid
202
-
203
- #### New Features
204
-
205
- - AutoFill support has been provided that allows users to copy the data of selected cells and paste it to another cells by dragging.
206
-
207
- #### Breaking Changes
208
-
209
- - Default value of column's `disableHtmlEncode` is set to true, so the HTML tags can be displayed in the Grid header and content by default. To display it as html content `disableHtmlEncode` need to be set as false.
210
-
211
- #### Bug Fixes
212
-
213
- - `#148913` - Expand icon displays properly for the nested records in Custom Data Binding.
214
-
215
- ## 17.2.48-beta (2019-08-28)
216
-
217
- ### TreeGrid
218
-
219
- #### New Features
220
-
221
- - Checkbox selection support has been provided that allows users to select rows using checkbox.
222
- - Checkbox Column support has been provided that allows users to check rows using checkbox in treegrid column.
223
-
224
- #### Bug Fixes
225
-
226
- - Change detection for properties `dataSource` and `query` were handled for remote data.
227
- - Edited records can be searched/filtered.
228
- - Inner level records will be collapsed/expanded after filtering/searching actions.
229
-
230
- ## 17.1.1-beta (2019-01-29)
231
-
232
- ### TreeGrid
233
-
234
- #### Bug Fixes
235
-
236
- - `Query` maintenance support provided for `refresh` method after expanding any child rows.
237
- - Property change support for `height` property has been provided.
238
- - Expand icon is prevented from displaying for the root/zeroth level record which has `hasChildMapping` field as false.
239
- - Child records of third level or its successor displays properly based on their hierarchy relation in self reference data binding.
240
-
241
- - Expand icon is prevented from displaying for the root/zeroth level record which has `hasChildMapping` field as false.
242
-
243
- #### New Features
244
-
245
- - `Excel-Like Filtering` support is provided that allows users to create complex filter criteria for a column by allowing users to select possible filter values from a checkbox list. The advanced filter can be used to build complex filter criteria.
246
-
247
- ## 16.4.45 (2019-01-02)
248
-
249
- ### TreeGrid
250
-
251
- #### Bug Fixes
252
-
253
- - Added events for the column menu feature and added `columnMenuItems` API to modify the column menu items in column menu.
254
- - Added `sortComparer` API to perform custom sorting in TreeGrid.
255
-
256
- ## 16.4.44 (2018-12-24)
257
-
258
- ### TreeGrid
259
-
260
- #### Bug Fixes
261
-
262
- - Expanding and Collapsing records is working fine when `pageSizeMode` is set as `All`.
263
- - `expandAtLevel`, `collapseAtLevel`, `expandAll` and `collapseAll` methods are working fine when `pageSizeMode` is set as `All`.- `actionBegin`, `actionComplete` and `actionFailure` events are triggered properly.
264
- - Additional parameters that are added using the `query` property of TreeGrid are passed to the server side when a parent record is expanded.## 19.1.54 (2021-03-30)
265
-
266
- ### Tree Grid
267
-
268
- #### Bug Fixes
269
-
270
- - `#332604` - Resolved white space issue while using less number of records with Virtualization.
271
-
@@ -1,2 +0,0 @@
1
- export * from './src/index';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9pbmRleCc7Il19
@@ -1,9 +0,0 @@
1
- export { StackedColumnDirective, StackedColumnsDirective } from './treegrid/stacked-column.directive';
2
- export { ColumnDirective, ColumnsDirective } from './treegrid/columns.directive';
3
- export { AggregateColumnDirective, AggregateColumnsDirective } from './treegrid/aggregate-columns.directive';
4
- export { AggregateDirective, AggregatesDirective } from './treegrid/aggregates.directive';
5
- export { TreeGridComponent } from './treegrid/treegrid.component';
6
- export { TreeGridModule } from './treegrid/treegrid.module';
7
- export { TreeGridAllModule, FilterService, PageService, SortService, ReorderService, ToolbarService, AggregateService, ResizeService, ColumnMenuService, ExcelExportService, PdfExportService, CommandColumnService, ContextMenuService, EditService, SelectionService, VirtualScrollService, DetailRowService, RowDDService, FreezeService, ColumnChooserService, LoggerService, InfiniteScrollService } from './treegrid/treegrid-all.module';
8
- export * from '@syncfusion/ej2-treegrid';
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHNCQUFzQixFQUFDLHVCQUF1QixFQUFDLE1BQU0scUNBQXFDLENBQUM7QUFDbkcsT0FBTyxFQUFDLGVBQWUsRUFBQyxnQkFBZ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Directive, ContentChildren, ContentChild } from '@angular/core';
3
- import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
4
- import { Template } from '@syncfusion/ej2-angular-base';
5
- import * as i0 from "@angular/core";
6
- let input = ['columnName', 'customAggregate', 'field', 'footerTemplate', 'format', 'type'];
7
- let outputs = [];
8
- /**
9
- * `e-aggregate->e-column` directive represent a aggregate column of the Angular TreeGrid.
10
- * ```html
11
- * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
12
- * <e-columns>
13
- * <e-column field='ID' width='100'></e-column>
14
- * <e-column field='name' headerText='Name' width='100'></e-column>
15
- * </e-columns>
16
- * <e-aggregates>
17
- * <e-aggregate>
18
- * <e-columns>
19
- * <e-column field='ID' type='Min'></e-column>
20
- * </e-columns>
21
- * </e-aggregate>
22
- * </e-aggregates>
23
- * </ejs-treegrid>
24
- * ```
25
- */
26
- export class AggregateColumnDirective extends ComplexBase {
27
- constructor(viewContainerRef) {
28
- super();
29
- this.viewContainerRef = viewContainerRef;
30
- setValue('currentInstance', this, this.viewContainerRef);
31
- this.registerEvents(outputs);
32
- this.directivePropList = input;
33
- }
34
- }
35
- AggregateColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateColumnDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
36
- AggregateColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AggregateColumnDirective, selector: "ejs-treegrid>e-aggregates>e-aggregate>e-columns>e-column", inputs: { columnName: "columnName", customAggregate: "customAggregate", field: "field", footerTemplate: "footerTemplate", format: "format", type: "type" }, queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }], usesInheritance: true, ngImport: i0 });
37
- __decorate([
38
- Template()
39
- ], AggregateColumnDirective.prototype, "footerTemplate", void 0);
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateColumnDirective, decorators: [{
41
- type: Directive,
42
- args: [{
43
- selector: 'ejs-treegrid>e-aggregates>e-aggregate>e-columns>e-column',
44
- inputs: input,
45
- outputs: outputs,
46
- queries: {}
47
- }]
48
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { footerTemplate: [{
49
- type: ContentChild,
50
- args: ['footerTemplate']
51
- }] } });
52
- /**
53
- * AggregateColumn Array Directive
54
- * @private
55
- */
56
- export class AggregateColumnsDirective extends ArrayBase {
57
- constructor() {
58
- super('columns');
59
- }
60
- }
61
- AggregateColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateColumnsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
62
- AggregateColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AggregateColumnsDirective, selector: "ejs-treegrid>e-aggregates>e-aggregate>e-columns", queries: [{ propertyName: "children", predicate: AggregateColumnDirective }], usesInheritance: true, ngImport: i0 });
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateColumnsDirective, decorators: [{
64
- type: Directive,
65
- args: [{
66
- selector: 'ejs-treegrid>e-aggregates>e-aggregate>e-columns',
67
- queries: {
68
- children: new ContentChildren(AggregateColumnDirective)
69
- },
70
- }]
71
- }], ctorParameters: function () { return []; } });
72
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdncmVnYXRlLWNvbHVtbnMuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3RyZWVncmlkL2FnZ3JlZ2F0ZS1jb2x1bW5zLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEs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N0ID0gaW5wdXQ7XG4gICAgfVxufVxuXG4vKipcbiAqIEFnZ3JlZ2F0ZUNvbHVtbiBBcnJheSBEaXJlY3RpdmVcbiAqIEBwcml2YXRlXG4gKi9cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiAnZWpzLXRyZWVncmlkPmUtYWdncmVnYXRlcz5lLWFnZ3JlZ2F0ZT5lLWNvbHVtbnMnLFxuICAgIHF1ZXJpZXM6IHtcbiAgICAgICAgY2hpbGRyZW46IG5ldyBDb250ZW50Q2hpbGRyZW4oQWdncmVnYXRlQ29sdW1uRGlyZWN0aXZlKVxuICAgIH0sXG59KVxuZXhwb3J0IGNsYXNzIEFnZ3JlZ2F0ZUNvbHVtbnNEaXJlY3RpdmUgZXh0ZW5kcyBBcnJheUJhc2U8QWdncmVnYXRlQ29sdW1uc0RpcmVjdGl2ZT4ge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgICBzdXBlcignY29sdW1ucycpO1xuICAgIH1cbn0iXX0=
@@ -1,69 +0,0 @@
1
- import { Directive, ContentChildren, ContentChild } from '@angular/core';
2
- import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
3
- import { AggregateColumnsDirective } from './aggregate-columns.directive';
4
- import * as i0 from "@angular/core";
5
- let input = ['columns', 'showChildSummary'];
6
- let outputs = [];
7
- /**
8
- * `e-aggregate` directive represent a aggregate row of the Angular TreeGrid.
9
- * It must be contained in a TreeGrid component(`ejs-treegrid`).
10
- * ```html
11
- * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
12
- * <e-columns>
13
- * <e-column field='ID' width='100'></e-column>
14
- * <e-column field='name' headerText='Name' width='100'></e-column>
15
- * </e-columns>
16
- * <e-aggregates>
17
- * <e-aggregate>
18
- * <e-columns>
19
- * <e-column field='ID' type='Min'></e-column>
20
- * </e-columns>
21
- * </e-aggregate>
22
- * </e-aggregates>
23
- * </ejs-treegrid>
24
- * ```
25
- */
26
- export class AggregateDirective extends ComplexBase {
27
- constructor(viewContainerRef) {
28
- super();
29
- this.viewContainerRef = viewContainerRef;
30
- this.tags = ['columns'];
31
- setValue('currentInstance', this, this.viewContainerRef);
32
- this.registerEvents(outputs);
33
- this.directivePropList = input;
34
- }
35
- }
36
- AggregateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
37
- AggregateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AggregateDirective, selector: "ejs-treegrid>e-aggregates>e-aggregate", inputs: { columns: "columns", showChildSummary: "showChildSummary" }, queries: [{ propertyName: "childColumns", first: true, predicate: AggregateColumnsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateDirective, decorators: [{
39
- type: Directive,
40
- args: [{
41
- selector: 'ejs-treegrid>e-aggregates>e-aggregate',
42
- inputs: input,
43
- outputs: outputs,
44
- queries: {
45
- childColumns: new ContentChild(AggregateColumnsDirective)
46
- }
47
- }]
48
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
49
- /**
50
- * Aggregate Array Directive
51
- * @private
52
- */
53
- export class AggregatesDirective extends ArrayBase {
54
- constructor() {
55
- super('aggregates');
56
- }
57
- }
58
- AggregatesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregatesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
59
- AggregatesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AggregatesDirective, selector: "ejs-treegrid>e-aggregates", queries: [{ propertyName: "children", predicate: AggregateDirective }], usesInheritance: true, ngImport: i0 });
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregatesDirective, decorators: [{
61
- type: Directive,
62
- args: [{
63
- selector: 'ejs-treegrid>e-aggregates',
64
- queries: {
65
- children: new ContentChildren(AggregateDirective)
66
- },
67
- }]
68
- }], ctorParameters: function () { return []; } });
69
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdncmVnYXRlcy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHJlZWdyaWQvYWdncmVnYXRlcy5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBb0IsZUFBZSxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRixPQUFPLEVBQUUsV0FBVyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUVoRixPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7QUFFMUUsSUFBSSxLQUFLLEdBQWEsQ0FBQyxTQUFTLEVBQUUsa0JBQWtCLENBQUMsQ0FBQztBQUN0RCxJQUFJLE9BQU8sR0FBYSxFQUFFLENBQUM7QUFDM0I7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWtCRztBQVNILE1BQU0sT0FBTyxrQkFBbUIsU0FBUSxXQUErQjtJQWVuRSxZQUFvQixnQkFBaUM7UUFDakQsS0FBSyxFQUFFLENBQUM7UUFEUSxxQkFBZ0IsR0FBaEIsZ0JBQWdCLENBQWlCO1FBWDlDLFNBQUksR0FBYSxDQUFDLFNBQVMsQ0FBQyxDQUFDO1FBYWhDLFFBQVEsQ0FBQyxpQkFBaUIsRUFBRSxJQUFJLEVBQUUsSUFBSSxDQUFDLGdCQUFnQixDQUFDLENBQUM7UUFDekQsSUFBSSxDQUFDLGNBQW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