Skip to content

Commit e40fb4a

Browse files
Merge pull request #306 from Syncfusion-Content/hotfix/hotfix-v26.1.35
DOCINFRA-2341_merged_using_automation
2 parents 4bfdb6e + b4cfd1f commit e40fb4a

File tree

28 files changed

+96
-69
lines changed

28 files changed

+96
-69
lines changed

ej2-javascript/card/js/es5-getting-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
layout: post
3-
title: Es5 getting started with ##Platform_Name## Card control | Syncfusion
4-
description: Checkout and learn about Es5 getting started with ##Platform_Name## Card control of Syncfusion Essential JS 2 and more details.
3+
title: Es5 Getting Started with ##Platform_Name## Card Control | Syncfusion
4+
description: Checkout and learn about Es5 getting started with ##Platform_Name## Card control, it's elements, and more.
55
platform: ej2-javascript
66
control: Es5 getting started
77
publishingplatform: ##Platform_Name##
88
documentation: ug
99
domainurl: ##DomainURL##
1010
---
1111

12-
# Es5 getting started in ##Platform_Name## Card control
12+
# Es5 Getting Started in ##Platform_Name## Card Control
1313

1414
The Essential JS 2 for JavaScript (global script) is an ES5 formatted pure JavaScript framework that can be directly used in latest web browsers.
1515

@@ -114,7 +114,7 @@ The Essential JS 2 JavaScript components can be initialized by using any of the
114114

115115
You can create Card with a header in a specific structure. For adding header you need to create a `div` element with `e-card-header` class added.
116116

117-
* You can include heading inside the Card header by adding a `div` element with `e-card-header-caption` class, and also content will be added by adding element with `e-card-content`. For detailed information, refer to the [Header and Content](./header-content/).
117+
* You can include heading inside the Card header by adding a `div` element with `e-card-header-caption` class, and also content will be added by adding element with `e-card-content`. For detailed information, refer to the [Header and Content](./header-content).
118118

119119
```
120120
<div class = "e-card"> --> Root Element

ej2-javascript/chart/Chart-types/spline-area.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
layout: post
3-
title: Spline area in ##Platform_Name## Chart control | Syncfusion
4-
description: Learn here all about Spline area in Syncfusion ##Platform_Name## Chart control of Syncfusion Essential JS 2 and more.
3+
title: Spline Area in ##Platform_Name## Chart Control | Syncfusion
4+
description: Learn here all about spline area in Syncfusion ##Platform_Name## Chart control, it's elements, and more.
55
platform: ej2-javascript
66
control: Spline area
77
publishingplatform: ##Platform_Name##
88
documentation: ug
99
domainurl: ##DomainURL##
1010
---
1111

12-
# Spline area Chart in ##Platform_Name## control
12+
# Spline area Chart in ##Platform_Name## Control
1313

1414
## Spline area
1515

@@ -79,5 +79,5 @@ The following properties can be used to customize the `spline area` series.
7979

8080
## See Also
8181

82-
* [Data label](../data-labels/)
83-
* [Tooltip](../tool-tip/)
82+
* [Data label](../data-labels)
83+
* [Tooltip](../tool-tip)

ej2-javascript/code-snippet/gantt/gantt-tooltip-cs4/index.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ var ganttChart = new ej.gantt.Gantt({
6262
});
6363
ganttChart.appendTo('#Gantt');
6464

65-
window.bgColor = (value, date) => {
65+
function bgColor (value, date){
6666
if (value === "S") {
6767
return "#7BD3EA"
6868
}
6969
const parsedDate = new Date(date);
70-
for (let i = 0; i < gantt.holidays.length; i++) {
71-
const holiday = gantt.holidays[i];
70+
for (let i = 0; i < ganttChart.holidays.length; i++) {
71+
const holiday = ganttChart.holidays[i];
7272
const fromDate = new Date(holiday.from);
7373
const toDate = new Date(holiday.to)
7474
if (parsedDate >= fromDate && parsedDate <= toDate) {
@@ -77,20 +77,20 @@ window.bgColor = (value, date) => {
7777
}
7878
return "#E0FBE2"
7979
};
80-
window.imagedate = () => {
80+
function imagedate () {
8181
const getImage = Math.floor(Math.random() * 5) + 1;
82-
return "./images/" + getImage + ".svg";
82+
return getImage + ".svg";
8383

8484
}
85-
window.holidayValue = (value, date) => {
85+
function holidayValue (value, date) {
8686

8787
const parsedDate = new Date(date);
88-
for (let i = 0; i < gantt.holidays.length; i++) {
89-
const holiday = gantt.holidays[i];
88+
for (let i = 0; i < ganttChart.holidays.length; i++) {
89+
const holiday = ganttChart.holidays[i];
9090
const fromDate = new Date(holiday.from);
9191
const toDate = new Date(holiday.to)
9292
if (parsedDate >= fromDate && parsedDate <= toDate) {
93-
const options: any = { weekday: 'short' };
93+
const options = { weekday: 'short' };
9494
return parsedDate.toLocaleDateString('en-US', options).toLocaleUpperCase();
9595
}
9696
}

ej2-javascript/code-snippet/gantt/gantt-tooltip-cs4/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gantt.Inject(Selection, Toolbar, DayMarkers, Edit, Filter);
2020
};
2121
(<{ imagedate?: Function }>window).imagedate = () => {
2222
const getImage = Math.floor(Math.random() * 5) + 1;
23-
return "./images/" + getImage + ".svg";
23+
return getImage + ".svg";
2424

2525
}
2626
(<{ holidayValue?: Function }>window).holidayValue = (value: string, date: string): string => {
@@ -36,7 +36,7 @@ Gantt.Inject(Selection, Toolbar, DayMarkers, Edit, Filter);
3636
}
3737
}
3838
return value
39-
}z
39+
}
4040

4141
let gantt: Gantt = new Gantt({
4242
dataSource: GanttData,

ej2-javascript/code-snippet/gantt/pdf-export-tasklabel-template-cs1/index.js

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,14 @@ var clickHandler = function (args) {
77
}
88
};
99
var pdfQueryTaskbarInfo = function(args){
10-
if (!args.data.hasChildRecords) {
11-
if (args.data.ganttProperties.resourceNames) {
12-
args.taskbarTemplate.image = [{
13-
width: 20, base64: (args).data.taskData.resourcesImage, height: 20
14-
}]
15-
}
16-
args.taskbarTemplate.value = args.data.TaskName;
17-
}
18-
if (args.data.hasChildRecords) {
19-
if (args.data.ganttProperties.resourceNames) {
20-
args.taskbarTemplate.image = [{
21-
width: 20, base64: (args).data.taskData.resourcesImage, height: 20
22-
}]
23-
}
24-
args.taskbarTemplate.value = args.data.TaskName;
25-
}
26-
if (args.data.ganttProperties.duration === 0) {
27-
if (args.data.ganttProperties.resourceNames) {
28-
args.taskbarTemplate.image = [{
29-
width: 20, base64: (args).data.taskData.resourcesImage, height: 20,
30-
}]
31-
}
32-
args.taskbarTemplate.value = args.data.TaskName
10+
args.labelSettings.leftLabel.value = args.data.ganttProperties.taskName + '[' + args.data.ganttProperties.progress + ']';
11+
if (args.data.ganttProperties.resourceNames) {
12+
args.labelSettings.rightLabel.value = args.data.ganttProperties.resourceNames;
13+
args.labelSettings.rightLabel.image = [{
14+
base64: args.data.taskData.resourcesImage, width: 20, height: 20
15+
}];
3316
}
17+
args.labelSettings.taskLabel.value = args.data.ganttProperties.progress + '%';
3418
}
3519
window.getResourceElements = function (value) {
3620
var out = "";

ej2-javascript/code-snippet/gantt/pdf-export-tasklabel-template-cs1/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33

4-
import { Gantt, Toolbar, PdfExport, Selection, PdfExportProperties,pdfQueryTaskbarInfo,PdfQueryCellInfoEventArgs } from '@syncfusion/ej2-gantt';
4+
import { Gantt, Toolbar, PdfExport, Selection, PdfExportProperties } from '@syncfusion/ej2-gantt';
55
import { GanttData,editingResources } from 'datasource.ts';
66
import { PdfColor } from '@syncfusion/ej2-pdf-export';
77
import { ClickEventArgs } from '@syncfusion/ej2-navigations/src/toolbar/toolbar';

ej2-javascript/code-snippet/spreadsheet/note-cs1/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ var spreadsheet = new ej.spreadsheet.Spreadsheet({
126126
allowOpen: true,
127127
openUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/open',
128128
allowSave: true,
129-
saveUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/save'
129+
saveUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/save',
130+
created: function () {
131+
spreadsheet.cellFormat({ fontWeight: 'bold' }, 'A1:H1');
132+
}
130133
});
131134
spreadsheet.appendTo('#spreadsheet');
132135

ej2-javascript/code-snippet/spreadsheet/note-cs1/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,10 @@ let spreadsheet: Spreadsheet = new Spreadsheet({
132132
allowOpen: true,
133133
openUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/open',
134134
allowSave: true,
135-
saveUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/save'
135+
saveUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/save',
136+
created: function (): void {
137+
spreadsheet.cellFormat({ fontWeight: 'bold' }, 'A1:H1');
138+
}
136139
});
137140
spreadsheet.appendTo('#spreadsheet');
138141

ej2-javascript/code-snippet/spreadsheet/note-cs2/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ var spreadsheet = new ej.spreadsheet.Spreadsheet({
127127
allowOpen: true,
128128
openUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/open',
129129
allowSave: true,
130-
saveUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/save'
130+
saveUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/save',
131+
created: function () {
132+
spreadsheet.cellFormat({ fontWeight: 'bold' }, 'A1:H1');
133+
}
131134
});
132135

133136
spreadsheet.appendTo('#spreadsheet');

ej2-javascript/code-snippet/spreadsheet/note-cs2/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ let spreadsheet: Spreadsheet = new Spreadsheet({
134134
allowOpen: true,
135135
openUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/open',
136136
allowSave: true,
137-
saveUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/save'
137+
saveUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/save',
138+
created: function (): void {
139+
spreadsheet.cellFormat({ fontWeight: 'bold' }, 'A1:H1');
140+
}
138141
});
139142
spreadsheet.appendTo('#spreadsheet');
140143

ej2-javascript/code-snippet/spreadsheet/note-cs3/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ var spreadsheet = new ej.spreadsheet.Spreadsheet({
8181
allowOpen: true,
8282
openUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/open',
8383
allowSave: true,
84-
saveUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/save'
84+
saveUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/save',
85+
created: function () {
86+
spreadsheet.cellFormat({ fontWeight: 'bold' }, 'A1:C1');
87+
}
8588
});
8689
spreadsheet.appendTo('#spreadsheet');

ej2-javascript/code-snippet/spreadsheet/note-cs3/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ let spreadsheet: Spreadsheet = new Spreadsheet({
8484
allowOpen: true,
8585
openUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/open',
8686
allowSave: true,
87-
saveUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/save'
87+
saveUrl: 'https://services.syncfusion.com/js/production/api/spreadsheet/save',
88+
created: function (): void {
89+
spreadsheet.cellFormat({ fontWeight: 'bold' }, 'A1:C1');
90+
}
8891
});
8992
spreadsheet.appendTo('#spreadsheet');

ej2-javascript/code-snippet/spreadsheet/print-cs2/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,10 @@ var spreadsheet = new ej.spreadsheet.Spreadsheet({
151151
sheets: [
152152
{ name: 'Budget', ranges: [{ dataSource: budgetData }], columns: columns },
153153
{ name: 'Salary', ranges: [{ dataSource: salaryData }], columns: columns },
154-
]
154+
],
155+
created: function () {
156+
spreadsheet.cellFormat({ fontWeight: 'bold' }, 'A1:D1');
157+
}
155158
});
156159

157160
spreadsheet.appendTo('#spreadsheet');

ej2-javascript/code-snippet/spreadsheet/print-cs2/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ let spreadsheet: Spreadsheet = new Spreadsheet({
6464
{ name: 'Budget', ranges: [{ dataSource: budgetData }], columns: columns },
6565
{ name: 'Salary', ranges: [{ dataSource: salaryData }], columns: columns },
6666
],
67+
created: function (): void {
68+
spreadsheet.cellFormat({ fontWeight: 'bold' }, 'A1:D1');
69+
}
6770
});
6871

6972
spreadsheet.appendTo('#spreadsheet');

ej2-javascript/code-snippet/spreadsheet/print-cs2/js/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@
1919
<body>
2020
<!--Element which is going to render-->
2121
<div id="dialog"></div>
22-
23-
<div id="container">
22+
<div id="print">
2423
<div id="element">Print</div>
25-
<input type="checkbox" id="gridline">Allow Grid Lines</input>
24+
<input type="checkbox" id="gridline"> Allow Grid Lines </input>
2625
<input type="checkbox" id="header"> Allow Row Column Header </input>
26+
</div>
27+
<div id="container">
2728
<div id="spreadsheet"></div>
2829
</div>
2930

ej2-javascript/code-snippet/spreadsheet/print-cs2/styles.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,14 @@
1313

1414
body {
1515
height: 425px;
16+
}
17+
18+
#element{
19+
font-size: 14px;
20+
}
21+
#print input[type="checkbox"] {
22+
margin: 7px;
23+
}
24+
#print label {
25+
font-size: 14px;
1626
}

ej2-javascript/code-snippet/spreadsheet/print-cs2/ts/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@
2424
<!--Element which is going to render-->
2525
<div id="dialog"></div>
2626
<div id='loader'>Loading....</div>
27-
<div id="element">Print</div>
28-
<input type="checkbox" id="gridline">Allow Grid Lines</input>
29-
<input type="checkbox" id="header"> Allow Row Column Header </input>
27+
<div id="print">
28+
<div id="element">Print</div>
29+
<input type="checkbox" id="gridline"> Allow Grid Lines </input>
30+
<input type="checkbox" id="header"> Allow Row Column Header </input>
31+
</div>
3032
<div id='container'>
3133
<div id="spreadsheet"></div>
3234
</div>

ej2-javascript/code-snippet/spreadsheet/print-cs3/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ var spreadsheet = new ej.spreadsheet.Spreadsheet({
111111
{ name: 'Budget', ranges: [{ dataSource: budgetData }], columns: columns },
112112
{ name: 'Salary', ranges: [{ dataSource: salaryData }], columns: columns },
113113
],
114-
allowPrint: false
114+
allowPrint: false,
115+
created: function () {
116+
spreadsheet.cellFormat({ fontWeight: 'bold' }, 'A1:D1');
117+
}
115118
});
116119

117120
spreadsheet.appendTo('#spreadsheet');

ej2-javascript/code-snippet/spreadsheet/print-cs3/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ let spreadsheet: Spreadsheet = new Spreadsheet({
1616
{ name: 'Budget', ranges: [{ dataSource: budgetData }], columns: columns },
1717
{ name: 'Salary', ranges: [{ dataSource: salaryData }], columns: columns },
1818
],
19-
allowPrint: false
19+
allowPrint: false,
20+
created: function (): void {
21+
spreadsheet.cellFormat({ fontWeight: 'bold' }, 'A1:D1');
22+
}
2023
});
2124

2225
spreadsheet.appendTo('#spreadsheet');

ej2-javascript/datepicker/strict-mode.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
layout: post
3-
title: Strict mode in ##Platform_Name## Datepicker control | Syncfusion
4-
description: Learn here all about Strict mode in Syncfusion ##Platform_Name## Datepicker control of Syncfusion Essential JS 2 and more.
3+
title: Strict Mode in ##Platform_Name## DatePicker Control | Syncfusion
4+
description: Learn here all about strict mode in Syncfusion ##Platform_Name## DatePicker Control, it's elements, and more.
55
platform: ej2-javascript
66
control: Strict mode
77
publishingplatform: ##Platform_Name##
88
documentation: ug
99
domainurl: ##DomainURL##
1010
---
1111

12-
# Strict mode in ##Platform_Name## Datepicker control
12+
# Strict Mode in ##Platform_Name## DatePicker Control
1313

14-
The [`strictMode`](../api/datepicker#strictmode) is an act, that allows the user to enter only the valid date within the specified min/max
14+
The [`strictMode`](../api/datepicker/#strictmode) is an act, that allows the user to enter only the valid date within the specified min/max
1515
range in textbox. If the date is invalid, then the component will stay with the previous value. Else, if the date is out of range, then the component will set the date to the min/max date.
1616

1717
The following example demonstrates the DatePicker in `strictMode` with min/max range of 5th to 25th in a month of May. Here, it allows to enter

ej2-javascript/treegrid/js/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ The following code example shows how to use the [actionFailure](https://ej2.sync
415415
{% endhighlight %}
416416
{% endtabs %}
417417

418-
{% previewsample "http://127.0.0.1:4000/ej2-javascript/code-snippet/treegrid/error-handling" %}
418+
{% previewsample "page.domainurl/ej2-javascript/code-snippet/treegrid/error-handling" %}
419419

420420
## See Also
421421

ej2-javascript/ts/security-advisory.md renamed to ej2-javascript/ts/security-advisories.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
layout: post
3-
title: Security Advisory in ##Platform_Name## Common control | Syncfusion
4-
description: Learn here all about Security Advisory in Syncfusion ##Platform_Name## Common control of Syncfusion Essential JS 2 and more.
3+
title: Security Advisories in ##Platform_Name## Common control | Syncfusion
4+
description: Learn here all about Security Advisories in Syncfusion ##Platform_Name## Common control of Syncfusion Essential JS 2 and more.
55
platform: ej2-javascript
66
control: common
77
publishingplatform: ##Platform_Name##
88
documentation: ug
99
domainurl: ##DomainURL##
1010
---
1111

12-
# Security Advisory in Syncfusion Essential JS2 Controls
12+
# Security Advisories in Syncfusion EJ2 Controls
1313

1414
Syncfusion places the utmost priority on the security of our controls. Users can rest assured about the security of our controls, as we have implemented all necessary measures to mitigate security vulnerabilities such as cross-site scripting and insecure dependencies. To meet security standards, Syncfusion utilizes the [ESLint](https://eslint.org/) and [ESLint plugin security](https://github.com/eslint-community/eslint-plugin-security#rules) tools for static code analysis. Additionally, Syncfusion packages undergo software composition analysis using the [SOOS](https://soos.io/) security tool.
1515

@@ -59,4 +59,4 @@ let sanitizedHtml: string = SanitizeHtmlHelper.sanitize(html);
5959

6060
## Security Issue
6161

62-
If users discover any security issues or need assistance in resolving them with Syncfusion controls, please contact us by creating a support ticket on [our support site](https://syncfusion.com/support) or by posting your query on Stack Overflow with the tag `syncfusion-ej2`.
62+
If users discover any security issues or need assistance in resolving them with Syncfusion controls, please contact us by creating a support ticket on [our support site](https://syncfusion.com/support) or by posting your query on Stack Overflow with the tag `syncfusion-ej2`.

ej2-typescript-toc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<li><a href="/ej2-typescript/deployment">Deployment</a></li>
66
<li><a href="/ej2-typescript/browser">Browser Compatibility</a></li>
77
<li><a href="https://ej2.syncfusion.com/documentation/api/base/overview/">API Reference</a></li>
8-
<li><a href="/ej2-typescript/security-advisory">Security Advisory</a></li>
8+
<li><a href="/ej2-typescript/security-advisories">Security Advisories</a></li>
99
<li>
1010
Getting started
1111
<ul>

0 commit comments

Comments
 (0)