@syncfusion/ej2-treegrid 19.3.57 → 19.4.38

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 (54) hide show
  1. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +60 -0
  2. package/.github/PULL_REQUEST_TEMPLATE/feature.md +37 -0
  3. package/CHANGELOG.md +5 -51
  4. package/dist/ej2-treegrid.umd.min.js +2 -2
  5. package/dist/ej2-treegrid.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-treegrid.es2015.js +171 -27
  7. package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
  8. package/dist/es6/ej2-treegrid.es5.js +177 -26
  9. package/dist/es6/ej2-treegrid.es5.js.map +1 -1
  10. package/dist/global/ej2-treegrid.min.js +2 -2
  11. package/dist/global/ej2-treegrid.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +9 -9
  14. package/src/treegrid/actions/batch-edit.js +5 -5
  15. package/src/treegrid/actions/edit.js +1 -2
  16. package/src/treegrid/base/interface.d.ts +4 -0
  17. package/src/treegrid/base/treegrid-model.d.ts +16 -1
  18. package/src/treegrid/base/treegrid.d.ts +43 -2
  19. package/src/treegrid/base/treegrid.js +146 -19
  20. package/src/treegrid/models/column.d.ts +9 -0
  21. package/src/treegrid/models/column.js +19 -0
  22. package/src/treegrid/renderer/virtual-row-model-generator.js +6 -0
  23. package/src/treegrid/renderer/virtual-tree-content-render.js +2 -1
  24. package/styles/bootstrap-dark.css +5 -0
  25. package/styles/bootstrap.css +5 -0
  26. package/styles/bootstrap4.css +5 -0
  27. package/styles/bootstrap5-dark.css +32 -27
  28. package/styles/bootstrap5.css +32 -27
  29. package/styles/fabric-dark.css +5 -0
  30. package/styles/fabric.css +5 -0
  31. package/styles/highcontrast-light.css +5 -0
  32. package/styles/highcontrast.css +5 -0
  33. package/styles/material-dark.css +5 -0
  34. package/styles/material.css +5 -0
  35. package/styles/tailwind-dark.css +31 -26
  36. package/styles/tailwind.css +5 -0
  37. package/styles/treegrid/_bootstrap5-definition.scss +4 -4
  38. package/styles/treegrid/_fluent-definition.scss +31 -0
  39. package/styles/treegrid/_layout.scss +8 -0
  40. package/styles/treegrid/_tailwind-definition.scss +4 -4
  41. package/styles/treegrid/bootstrap-dark.css +5 -0
  42. package/styles/treegrid/bootstrap.css +5 -0
  43. package/styles/treegrid/bootstrap4.css +5 -0
  44. package/styles/treegrid/bootstrap5-dark.css +32 -27
  45. package/styles/treegrid/bootstrap5.css +32 -27
  46. package/styles/treegrid/fabric-dark.css +5 -0
  47. package/styles/treegrid/fabric.css +5 -0
  48. package/styles/treegrid/highcontrast-light.css +5 -0
  49. package/styles/treegrid/highcontrast.css +5 -0
  50. package/styles/treegrid/icons/_fluent.scss +26 -0
  51. package/styles/treegrid/material-dark.css +5 -0
  52. package/styles/treegrid/material.css +5 -0
  53. package/styles/treegrid/tailwind-dark.css +31 -26
  54. package/styles/treegrid/tailwind.css +5 -0
@@ -0,0 +1,60 @@
1
+ ### Bug description
2
+
3
+ Clearly and concisely describe the problem or feature (this cannot be empty).
4
+
5
+ ### Root cause
6
+
7
+ Briefly describe the root cause and analysis of the problem.
8
+ If there is an internal discussion on the forum, provide the link.
9
+ ### Reason for not identifying earlier
10
+
11
+ Find how it was missed in our earlier testing and development by analysing the below checklist. This will help prevent similar mistakes in the future.
12
+
13
+ - [ ] Guidelines/documents are not followed
14
+
15
+ - Common guidelines / Core team guideline
16
+ - Specification document
17
+ - Requirement document
18
+
19
+ - [ ] Guidelines/documents are not given
20
+
21
+
22
+ - Common guidelines / Core team guideline
23
+ - Specification document
24
+ - Requirement document
25
+
26
+
27
+ ### Reason:
28
+ Mention any one or more reasons from the above points.
29
+
30
+ ### Action taken:
31
+ What action did you take to avoid this in future?
32
+
33
+ ### Related areas:
34
+ Is there any other related areas also to be addressed?
35
+
36
+
37
+ ### Is it a breaking issue?
38
+
39
+ If it is a breaking issue, provide the commit detail which caused this break.
40
+
41
+ ### Solution description
42
+
43
+ Describe your code changes in detail for reviewers.
44
+
45
+ ### Output screenshots
46
+
47
+ Post the output screenshots if an UI is affected or added due to this bug.
48
+ ### Areas affected and ensured
49
+
50
+ List the areas affected by your code changes.
51
+
52
+ ### Additional checklist
53
+ This may vary for different teams or products. Check with your scrum masters.
54
+
55
+ - Did you run the automation against your fix?
56
+ - Is there any API name change?
57
+ - Is there any existing behavior change of other features due to this code change?
58
+ - Does your new code introduce new warnings or binding errors?
59
+ - Does your code pass all FxCop and StyleCop rules?
60
+ - Did you record this case in the unit test or UI test?
@@ -0,0 +1,37 @@
1
+ ### Feature description
2
+
3
+ Clearly and concisely describe the problem or feature (this cannot be empty).
4
+
5
+ ### Analysis and design
6
+
7
+ If there is an external design, link to its project documentation area.
8
+ If there is an internal discussion on the forum, provide the link.
9
+ ### Solution description
10
+
11
+ Describe your code changes in detail for reviewers.
12
+
13
+ ### Output screenshots
14
+
15
+ Post the output screenshots if an UI is affected or added due to this feature.
16
+ ### Areas affected and ensured
17
+
18
+ List the areas are affected by your code changes.
19
+
20
+ ### Test cases
21
+
22
+ Provide the unit testing written file details to understand the use cases considered in this implementation.
23
+ If there is no TDD (if it’s not possible to follow), provide the UI automation script location and the Excel file that contains the use cases considered in this implementation.
24
+ Provide the test cases Excel file alone if the feature cannot be automated in any case.
25
+ Test bed sample location
26
+
27
+ Provide the test bed sample location where code reviewers can review the new feature’s behaviors. This depends on the CI process that your team follows. It can be from NPMCI, HockeyApp, staging site, local server, etc.
28
+
29
+ ### Additional checklist
30
+ This may vary for different teams or products. Check with your scrum masters.
31
+
32
+ - Did you run the automation against your fix?
33
+ - Is there any API name change?
34
+ - Is there any existing behavior change of other features due to this code change?
35
+ - Does your new code introduce new warnings or binding errors?
36
+ - Does your code pass all FxCop and StyleCop rules?
37
+ - Did you record this case in the unit test or UI test?
package/CHANGELOG.md CHANGED
@@ -2,63 +2,17 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## 19.3.55 (2021-11-23)
6
-
7
- ### Tree Grid
8
-
9
- #### Bug Fixes
10
-
11
- - `#I346283` - Resolved "No records to display" issue when scrolling using column Virtualization with sorting.
12
- - `#I347163` - Resolved checkbox selection is not working properly while using column Virtualization.
13
- - `#I346278, I346277` - Resolved White space issue when collapsing rows and scrolling down and adding the record using addRecord method in Virtualization.
14
- - `#F169974` - Resolved deleting parent and child using deleteRecord method.
15
-
16
- ## 19.3.48 (2021-11-02)
17
-
18
- ### Tree Grid
19
-
20
- #### Bug Fixes
21
-
22
- - `#I342419` - Resolved performing add operation after calling refresh method.
23
-
24
- ## 19.3.47 (2021-10-26)
25
-
26
- ### Tree Grid
27
-
28
- #### Bug Fixes
29
-
30
- - `#F169151` - Resolved issue in drag and drop to Listbox component.
31
- - `#I343484` - Resolved deleting the record by using deleteRow and deleteRecord methods in cellSelection mode.
32
- - `#I345435` - Tree Column value shows properly when text wrap is enabled.
33
- - `#I343976` - Resolved top records hiding issue on random expand/collapse action when Virtualization enabled.
34
- - `#I342822` - Expand and collapse icon shown properly on re ordering column with `enablePersistence` property.
35
-
36
- ## 19.3.46 (2021-10-19)
37
-
38
5
  ### Tree Grid
39
6
 
40
- #### Bug Fixes
41
-
42
- - `#I343755` - Resolved record missing while using single root node with Virtualization and ExpandStateMapping enabled.
43
- - `#I335120` - Resolved Deleting child records and creation of duplicate records after row drag and drop performed.
7
+ #### New Features
44
8
 
45
- ## 19.3.45 (2021-10-12)
46
-
47
- ### Tree Grid
9
+ - Provided support for `expandByKey`, `collapseByKey` methods and improved `expantAtLevel`, `collapseAtLevel` methods for nested records in tree grid.
10
+ - Provided Adaptive UI layout support for all devices.
48
11
 
49
12
  #### Bug Fixes
50
13
 
51
- - `#I341871` - Resolved getCheckedRecords method doesn’t return collapsed records after filtering with Virtualization enabled.
52
- - `#I340839` - Resolved dragging and dropping creates duplicate rows when setting initial sort for the newly added record.
53
- - `#I339818` - Resolved "No records to display" issue when we expand filtered parent record with Virtualization and collapseAll enabled.
54
-
55
- ## 19.3.44 (2021-10-05)
56
-
57
- ### Tree Grid
58
-
59
- #### New Features
60
-
61
- - `#314841` - Provided support to freeze the columns on right, left or both sides.
14
+ - `#I348001`,`#I349046`,`#I349018` Throws script error while performing scroll on Virtualization enabled has been fixed.
15
+ - `#F167694` Resolved state changes not reflected for Treegrid column directive.
62
16
 
63
17
  ## 19.2.44 (2021-06-30)
64
18