Skip to content

Commit 4310bc0

Browse files
v31.2.2
1 parent c3a973a commit 4310bc0

File tree

3,103 files changed

+1059114
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,103 files changed

+1059114
-1
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
### Bug description
2+
Clearly and concisely describe the problem (this cannot be empty).
3+
4+
### Root cause
5+
Briefly describe the root cause and analysis of the problem.
6+
If there is an internal discussion on the forum, provide the link.
7+
8+
### Solution description
9+
Describe the changes made in the code in detail for the reviewers.
10+
11+
### Reason for not identifying earlier
12+
* [ ] Guidelines not followed. If yes, provide which guideline is not followed.
13+
14+
* [ ] Guidelines not given. If yes, provide which/who need to address.
15+
Tag label `update-guideline-coreteam` or `update-guideline-productteam`.
16+
17+
* [ ] If any other reason, provide the details here.
18+
19+
### Areas tested against this fix
20+
Provide details about the areas or combinations that have been tested against this code changes.
21+
* [ ] Tested against feature matrix. [Feature matrix link](https://syncfusion.sharepoint.com/sites/EJ2ProductOwners/Shared%20Documents/Forms/AllItems.aspx?viewid=ae81c682%2D3d0f%2D462a%2Db8ec%2D7358748d489d&id=%2Fsites%2FEJ2ProductOwners%2FShared%20Documents%2FGeneral%2FFeature%20Matrix%20%2D%20Documents)
22+
* [ ] NA
23+
24+
### Is it a breaking issue?
25+
* [ ] Yes, Tag `breaking-issue`.
26+
* [ ] NO
27+
28+
If yes, provide the breaking commit details / MR here.
29+
30+
### Action taken
31+
What action did you take to avoid this in future?
32+
33+
Feature matrix document updated
34+
* [ ] Yes
35+
* [ ] NO
36+
* [ ] NA
37+
38+
Automation details - Mark `Is Automated` field as (Yes, Manual, Not Applicable) in corresponding JIRA task once the bug is automated.
39+
* [ ] BUnit, share corresponding MR.
40+
* [ ] E2E or Manual Automation using tester - Make sure all items are automated with priority before release which can be tracked in [automation dashboard](https://syncfusion.atlassian.net/secure/Dashboard.jspa?selectPageId=43396).
41+
42+
If the same issue is reproduced in ej2, what will you do?
43+
* [ ] Resolved. Provide MR link.
44+
* [ ] NO. Created task to track it. Share task link.
45+
* [ ] NA
46+
47+
Is this common issue need to be addressed in the same component or on other components in our platform?
48+
* [ ] Yes - Need to check in other components, tag `needs-attention-coreteam`
49+
* [ ] No
50+
51+
### Output screenshots
52+
Post the output screenshots if an UI is affected or added due to this bug.
53+
54+
### Blazor Checklist
55+
Confirm whether this feature is ensured in both Blazor Server and WASM
56+
* [ ] NA
57+
* [ ] Yes
58+
* [ ] NO
59+
60+
Is there any new API or existing API name change?
61+
* [ ] Yes. If yes, Provide API Review task link.
62+
* [ ] NO
63+
64+
Is there any existing behavior change due to this code change?
65+
* [ ] Yes. Add `breaking-change` label.
66+
* [ ] NO
67+
68+
69+
Do the code changes cause any memory leak and performance issue? (Test only if you suspect that your code may cause problem)
70+
* [ ] Yes
71+
* [ ] NO
72+
73+
## Reviewer Checklist
74+
* [ ] All provided information are reviewed and ensured.
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
### Feature description
2+
Clearly and concisely describe the feature.
3+
4+
### Requirement and specification document.
5+
Share the JIRA task which is attached with the requirement and specification document or directly share the document.
6+
- Even for a small feature, draft a requirement and specification document and attach it in the task.
7+
8+
### API Review task
9+
Provide task link.
10+
11+
### Output screenshots
12+
Post the output screenshots if an UI is affected or added due to this feature.
13+
14+
### Feature matrix document
15+
16+
Feature matrix document updated against this feature and committed in this [common location] (https://syncfusion.sharepoint.com/sites/EJ2ProductOwners/Shared%20Documents/Forms/AllItems.aspx?viewid=ae81c682%2D3d0f%2D462a%2Db8ec%2D7358748d489d&id=%2Fsites%2FEJ2ProductOwners%2FShared%20Documents%2FGeneral%2FFeature%20Matrix%20%2D%20Documents) .
17+
* [ ] Yes
18+
* [ ] NO
19+
* [ ] NA
20+
21+
Provide the details about the areas or combinations which have been tested against this code changes.
22+
* [ ] Tested against feature matrix.
23+
24+
### Feature acceptance criteria (Test-case document)
25+
Draft the test cases in excel and attach it in the MR itself. The automation must be covered based on this positive and worst-case test-cases.
26+
27+
### Automation details
28+
Mark 'Is Automated' field as (Yes, Manual, Not Applicable) in corresponding JIRA task once the feature is automated.
29+
* [ ] BUnit, share corresponding MR.
30+
* [ ] E2E or Manual Automation using tester - Make sure all items are automated with priority before release which can be tracked in [automation dashboard](https://syncfusion.atlassian.net/secure/Dashboard.jspa?selectPageId=43396).
31+
32+
### Test bed sample location
33+
Provide the test bed sample location where the code reviewers can review the new feature’s behaviors.
34+
35+
### Feature completion checklist
36+
37+
UX changes got approval if UI is added or modified?
38+
* [ ] Yes. Provide Task link.
39+
* [ ] NO
40+
* [ ] NA
41+
42+
Drafted UG for this feature?
43+
* [ ] Yes, provide MR link.
44+
* [ ] NO, provide task link.
45+
* [ ] NA
46+
47+
Content team reviewed the UI content changes.
48+
* [ ] Yes. Provide MR or Task link.
49+
* [ ] NO
50+
* [ ] NA
51+
52+
Is this the common feature which needs to be addressed in the same component or on other components in our platform?
53+
* [ ] Yes. If we need to check in other components, tag "needs-attention-coreteam"
54+
* [ ] NO
55+
56+
Is there any existing behavior change due to this code change?
57+
* [ ] Yes. If So, add `breaking-change` label.
58+
* [ ] NO
59+
60+
### Blazor Checklist
61+
Confirm whether the ensured feature is in both Blazor Server and WASM.
62+
* [ ] Yes
63+
* [ ] NO
64+
* [ ] NA
65+
66+
Do the code changes cause any memory leak and performance issue?
67+
* [ ] Yes
68+
* [ ] NO
69+
70+
## Reviewer Checklist
71+
* [ ] Reviewed feature matrix document modifications and reviewed developer testing report against the feature matrix reviewed.
72+
* [ ] Testbed sample ensured.
73+
* [ ] Coverage report checked.
74+
* [ ] Ensured the code changes meet the coding standard.
75+
* [ ] Confirming script changes made in this merge request can't be achieved in C#.
76+
77+
Created task in Blazor to synchronize if the feature is not available and applicable.
78+
* [ ] NA
79+
* [ ] Yes, task link.
80+
* [ ] NO, share reason.

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.npmrc
2+
.vs/
3+
**/.vs/
4+
src/bin
5+
src/obj
6+
node_modules/
7+
bin/
8+
obj/
9+
package-lock.json
10+
deploy/
11+
npm-debug.log
12+
/wwwroot/scripts/Images
13+
/wwwroot/scripts/Images

.gitleaksignore

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
/* Ignored false Leaks in .cs files*/
2+
Models/ExportEmployeeDetails.cs:aws-access-token:33
3+
Models/ExportEmployeeDetails.cs:aws-access-token:37
4+
Models/ExportEmployeeDetails.cs:aws-access-token:49
5+
/* Ignored false leaks in .cshtml files */
6+
Views/PivotTable/CellTemplate.cshtml:aws-access-token:48
7+
Views/Schedule/CalendarIntegration.cshtml:gcp-api-key:4
8+
/* Ignored false leaks in .css files */
9+
wwwroot/styles/bootstrap-dark.css:aws-access-token:1
10+
wwwroot/styles/bootstrap.css:aws-access-token:1
11+
wwwroot/styles/material3-dark.css:aws-access-token:1
12+
wwwroot/styles/material3.css:aws-access-token:1
13+
wwwroot/styles/tailwind.css:aws-access-token:1
14+
wwwroot/styles/tailwind-dark.css:aws-access-token:1
15+
wwwroot/styles/fluent2.css:aws-access-token:1
16+
wwwroot/styles/fluent2-dark.css:aws-access-token:1
17+
wwwroot/styles/fluent2-highcontrast.css:aws-access-token:1
18+
wwwroot/styles/tailwind-default.css:aws-access-token:1
19+
wwwroot/styles/tailwind-dark-default.css:aws-access-token:1
20+
wwwroot/styles/fluent2-highcontrast-default.css:aws-access-token:1
21+
wwwroot/styles/fluent2-default.css:aws-access-token:1
22+
wwwroot/styles/fluent2-dark-default.css:aws-access-token:1
23+
wwwroot/styles/bootstrap-default.css:aws-access-token:1
24+
wwwroot/styles/bootstrap-dark-default.css:aws-access-token:1
25+
Pages/PivotTable/CellTemplate.cshtml:aws-access-token:56
26+
Pages/Schedule/CalendarIntegration.cshtml:gcp-api-key:6
27+
wwwroot/styles/bootstrap5-dark.css:aws-access-token:1
28+
wwwroot/styles/bootstrap5.3-dark.css:aws-access-token:1
29+
wwwroot/styles/bootstrap5.3.css:aws-access-token:1
30+
wwwroot/styles/bootstrap5.css:aws-access-token:1
31+
wwwroot/styles/highcontrast.css:aws-access-token:1
32+
wwwroot/styles/fluent-dark.css:aws-access-token:1
33+
wwwroot/styles/fluent.css:aws-access-token:1
34+
wwwroot/styles/tailwind3.css:easypost-api-token:1
35+
wwwroot/styles/tailwind3-dark.css:easypost-api-token:1
36+
Models/GanttData.cs:aws-access-token:1892
37+
Models/GanttData.cs:aws-access-token:1905
38+
Models/GanttData.cs:aws-access-token:1940
39+
Models/GanttData.cs:aws-access-token:1953
40+
Models/GanttData.cs:aws-access-token:1965
41+
Models/GanttData.cs:aws-access-token:1982
42+
Models/GanttData.cs:aws-access-token:2014
43+
Models/GanttData.cs:aws-access-token:2026
44+
Models/GanttData.cs:aws-access-token:2050
45+
Models/GanttData.cs:aws-access-token:2063
46+
Models/GanttData.cs:aws-access-token:2076
47+
Models/GanttData.cs:aws-access-token:2089
48+
Models/GanttData.cs:aws-access-token:2102
49+
Models/GanttData.cs:aws-access-token:2103
50+
Models/GanttData.cs:aws-access-token:2143
51+
Models/GanttData.cs:aws-access-token:2156
52+
Models/GanttData.cs:aws-access-token:2169
53+
Models/GanttData.cs:aws-access-token:2182
54+
Models/GanttData.cs:aws-access-token:2195
55+
Models/GanttData.cs:aws-access-token:2098
56+
Models/GanttData.cs:aws-access-token:2138
57+
Models/GanttData.cs:aws-access-token:2151
58+
Models/GanttData.cs:aws-access-token:2163
59+
Models/GanttData.cs:aws-access-token:2176
60+
Models/GanttData.cs:aws-access-token:1895
61+
Models/GanttData.cs:aws-access-token:2017
62+
Models/GanttData.cs:aws-access-token:2029
63+
Models/GanttData.cs:aws-access-token:2053
64+
Models/GanttData.cs:aws-access-token:2066
65+
Models/GanttData.cs:aws-access-token:2079
66+
Models/GanttData.cs:aws-access-token:2092
67+
Models/GanttData.cs:aws-access-token:2105
68+
Models/GanttData.cs:aws-access-token:2146
69+
Models/GanttData.cs:aws-access-token:2159
70+
Models/GanttData.cs:aws-access-token:2172
71+
Models/GanttData.cs:aws-access-token:2185
72+
Models/GanttData.cs:aws-access-token:3806
73+
Models/GanttData.cs:aws-access-token:3928
74+
Models/GanttData.cs:aws-access-token:3940
75+
Models/GanttData.cs:aws-access-token:3964
76+
Models/GanttData.cs:aws-access-token:3977
77+
Models/GanttData.cs:aws-access-token:3990
78+
Models/GanttData.cs:aws-access-token:4003
79+
Models/GanttData.cs:aws-access-token:4016
80+
Models/GanttData.cs:aws-access-token:4057
81+
Models/GanttData.cs:aws-access-token:4070
82+
Models/GanttData.cs:aws-access-token:4083
83+
Models/GanttData.cs:aws-access-token:4096
84+
Models/GanttData.cs:aws-access-token:3819
85+
Models/GanttData.cs:aws-access-token:3941
86+
Models/GanttData.cs:aws-access-token:3953
87+
Models/GanttData.cs:aws-access-token:4029
88+
Models/GanttData.cs:aws-access-token:4109
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#region Copyright Syncfusion® Inc. 2001-2025.
2+
// Copyright Syncfusion® Inc. 2001-2025. All rights reserved.
3+
// Use of this code is subject to the terms of our license.
4+
// A copy of the current license can be obtained at any time by e-mailing
5+
// [email protected]. Any infringement will be prosecuted under
6+
// applicable laws.
7+
#endregion
8+
using System;
9+
using System.Collections.Generic;
10+
using System.Linq;
11+
using Microsoft.AspNetCore.Mvc;
12+
using EJ2CoreSampleBrowser.Helpers;
13+
using Microsoft.AspNetCore.Hosting;
14+
15+
namespace EJ2CoreSampleBrowser.Controllers
16+
{
17+
public class SourceCodeTabController : Controller
18+
{
19+
private IWebHostEnvironment _appEnv;
20+
public SourceCodeTabController(IWebHostEnvironment appEnv)
21+
22+
{
23+
_appEnv = appEnv;
24+
}
25+
public ActionResult Index(string file)
26+
{
27+
return Content(new SourceTabActionResult(file, "false", _appEnv).getContent(_appEnv));
28+
}
29+
30+
}
31+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#region Copyright Syncfusion® Inc. 2001-2025.
2+
// Copyright Syncfusion® Inc. 2001-2025. All rights reserved.
3+
// Use of this code is subject to the terms of our license.
4+
// A copy of the current license can be obtained at any time by e-mailing
5+
// [email protected]. Any infringement will be prosecuted under
6+
// applicable laws.
7+
#endregion
8+
using EJ2CoreSampleBrowser.Models;
9+
using Microsoft.AspNetCore.Mvc;
10+
using Syncfusion.EJ2.TreeGrid;
11+
using Syncfusion.EJ2.TreeGridExport;
12+
namespace EJ2CoreSampleBrowser.Controllers.TreeGrid
13+
{
14+
public partial class TreeGridController : Controller
15+
{
16+
public IActionResult ServerSideExporting()
17+
{
18+
var order = TreeData.GetDefaultData();
19+
ViewData["dataSource"] = order;
20+
return View();
21+
}
22+
public IActionResult ExcelExport(string treeGridModel)
23+
{
24+
if (treeGridModel == null)
25+
{
26+
return View();
27+
}
28+
TreeGridExcelExport exp = new TreeGridExcelExport();
29+
Syncfusion.EJ2.TreeGrid.TreeGrid gridProperty = ConvertTreeGridObject(treeGridModel);
30+
return exp.ExportToExcel<TreeData>(gridProperty, TreeData.GetDefaultData());
31+
}
32+
public IActionResult CsvExport(string treeGridModel)
33+
{
34+
if (treeGridModel == null)
35+
{
36+
return View();
37+
}
38+
TreeGridExcelExport exp = new TreeGridExcelExport();
39+
Syncfusion.EJ2.TreeGrid.TreeGrid gridProperty = ConvertTreeGridObject(treeGridModel);
40+
return exp.ExportToCsv<TreeData>(gridProperty, TreeData.GetDefaultData());
41+
}
42+
public IActionResult PdfExport(string treeGridModel)
43+
{
44+
if (treeGridModel == null)
45+
{
46+
return View();
47+
}
48+
TreeGridPdfExport exp = new TreeGridPdfExport();
49+
Syncfusion.EJ2.TreeGrid.TreeGrid gridProperty = ConvertTreeGridObject(treeGridModel);
50+
return exp.ExportToPdf<TreeData>(gridProperty, TreeData.GetDefaultData());
51+
}
52+
private Syncfusion.EJ2.TreeGrid.TreeGrid ConvertTreeGridObject(string gridProperty)
53+
{
54+
Syncfusion.EJ2.TreeGrid.TreeGrid TreeGridModel = (Syncfusion.EJ2.TreeGrid.TreeGrid)Newtonsoft.Json.JsonConvert.DeserializeObject(gridProperty, typeof(Syncfusion.EJ2.TreeGrid.TreeGrid));
55+
TreeGridColumnModel cols = (TreeGridColumnModel)Newtonsoft.Json.JsonConvert.DeserializeObject(gridProperty, typeof(TreeGridColumnModel));
56+
TreeGridModel.Columns = cols.columns;
57+
return TreeGridModel;
58+
}
59+
public class TreeGridColumnModel
60+
{
61+
public List<TreeGridColumn> columns { get; set; }
62+
}
63+
}
64+
}

0 commit comments

Comments
 (0)