Skip to content

Commit 226e64f

Browse files
committed
1009433: Checked and resolved the CI failures.
1 parent 051ab5a commit 226e64f

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

Document-Processing/Excel/Spreadsheet/Javascript-ES5/performance-best-practices.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
layout: post
3-
title: Performance best practices in EJ2 Javascript Spreadsheet | Syncfusion
4-
description: Learn here all about how to optimize the performance EJ2 Javascript Spreadsheet control, its elements and more.
3+
title: Performance best practices in EJ2 JavaScript Spreadsheet | Syncfusion
4+
description: Learn here all about how to optimize the performance EJ2 JavaScript Spreadsheet control, its elements and more.
55
platform: document-processing
66
control: Performance
77
documentation: ug
88
---
99

10-
# Performance Best Practices in EJ2 Javascript Spreadsheet Control
10+
# Performance Best Practices in EJ2 JavaScript Spreadsheet Control
1111

1212
Performance optimization is crucial when working with large datasets in the [Syncfusion® JavaScript Spreadsheet](https://www.syncfusion.com/spreadsheet-editor-sdk/javascript-spreadsheet-editor). This documentation outlines best practices to enhance data handling efficiency and ensure a smooth, responsive user experience during various spreadsheet operations.
1313

@@ -32,11 +32,11 @@ To enable the chunk response processing feature, you can refer to the following
3232

3333
### Configure JSON serialization options during open
3434

35-
Serialization options in the EJ2 Spreadsheet allow you to exclude specific features—such as styles, formats, charts, images, wrap, etc.—from the `Workbook JSON object` when opening it in the Spreadsheet using the [`openFromJson`](https://helpej2.syncfusion.com/javascript/documentation/api/spreadsheet/#openfromjson) method. By skipping unnecessary features, you can significantly improve performance, especially when working with large or complex workbooks.
35+
Serialization options in the EJ2 Spreadsheet allow you to exclude specific features—such as styles, formats, charts, images, wrap, etc.—from the `Workbook JSON object` when opening it in the Spreadsheet using the [`openFromJson`](https://helpej2.syncfusion.com/javascript/documentation/api/spreadsheet#openfromjson) method. By skipping unnecessary features, you can significantly improve performance, especially when working with large or complex workbooks.
3636

3737
This is particularly useful when:
3838
* You need only the raw data without formatting.
39-
* You're opening the `Workbook JSON object` in the Spreadsheet using the [`openFromJson`](https://helpej2.syncfusion.com/javascript/documentation/api/spreadsheet/#openfromjson) method.
39+
* You're opening the `Workbook JSON object` in the Spreadsheet using the [`openFromJson`](https://helpej2.syncfusion.com/javascript/documentation/api/spreadsheet#openfromjson) method.
4040
* You want to minimize the size of the JSON payload and optimize processing speed.
4141

4242
Refer to the following UG section to learn how to configure these options:
@@ -103,7 +103,7 @@ To learn more about Manual Calculation Mode and how to enable it, you can refer
103103

104104
When saving large Excel files with extensive data and features using **File → Save As** or the **save** method, the Spreadsheet triggers a server API call through a form submit operation. This can lead to performance issues such as timeouts or delays, particularly due to the size and complexity of the workbook.
105105

106-
To mitigate these issues during the save operation, you can set the [`isFullPost`](https://helpej2.syncfusion.com/javascript/documentation/api/spreadsheet/beforeSaveEventArgs/#isfullpost) property to **false** in the [`beforeSave`](https://helpej2.syncfusion.com/javascript/documentation/api/spreadsheet/#beforesave) event of the Spreadsheet.
106+
To mitigate these issues during the save operation, you can set the [`isFullPost`](https://helpej2.syncfusion.com/javascript/documentation/api/spreadsheet/beforeSaveEventArgs#isfullpost) property to **false** in the [`beforeSave`](https://helpej2.syncfusion.com/javascript/documentation/api/spreadsheet#beforesave) event of the Spreadsheet.
107107

108108
The following code example shows how to set `isFullPost` to **false** in the Spreadsheet component:
109109

@@ -117,11 +117,11 @@ var spreadsheet = new ej.spreadsheet.Spreadsheet({
117117

118118
### Configure JSON serialization options during save
119119

120-
Serialization options in the EJ2 Spreadsheet allow you to exclude specific features such as styles, formats, charts, images, wrap, etc. from the `Workbook JSON object` when saving it using the [`saveAsJson`](https://helpej2.syncfusion.com/javascript/documentation/api/spreadsheet/#saveasjson) method in the Spreadsheet. By skipping unnecessary features, you can significantly improve performance, especially when working with large or complex workbooks.
120+
Serialization options in the EJ2 Spreadsheet allow you to exclude specific features such as styles, formats, charts, images, wrap, etc. from the `Workbook JSON object` when saving it using the [`saveAsJson`](https://helpej2.syncfusion.com/javascript/documentation/api/spreadsheet#saveasjson) method in the Spreadsheet. By skipping unnecessary features, you can significantly improve performance, especially when working with large or complex workbooks.
121121

122122
This is particularly useful when:
123123
* You need only the raw data without formatting.
124-
* You're saving the `Workbook JSON object` using the [`saveAsJson`](https://helpej2.syncfusion.com/javascript/documentation/api/spreadsheet/#saveasjson) method in the Spreadsheet.
124+
* You're saving the `Workbook JSON object` using the [`saveAsJson`](https://helpej2.syncfusion.com/javascript/documentation/api/spreadsheet#saveasjson) method in the Spreadsheet.
125125
* You want to minimize the size of the JSON payload and optimize processing speed.
126126

127127
Proper use of serialization options during save improves performance and reduces the time taken during the save process.
@@ -136,7 +136,7 @@ Refer to the following UG section to learn how to configure these options:
136136

137137
When working with large datasets in the EJ2 Spreadsheet, user interactions such as selecting a large range of cells can experience delays. This occurs because, by default, the Spreadsheet performs aggregate calculations (e.g., SUM, AVERAGE, COUNT, MIN, and MAX) on the selected range and displays the results in the sheet tab panel at the bottom-right corner.
138138

139-
To enhance the responsiveness of cell selection, particularly in performance-critical scenarios, consider disabling unnecessary aggregate calculations using the [`showAggregate`](https://ej2.syncfusion.com/javascript/documentation/api/spreadsheet/#showaggregate) property.
139+
To enhance the responsiveness of cell selection, particularly in performance-critical scenarios, consider disabling unnecessary aggregate calculations using the [`showAggregate`](https://ej2.syncfusion.com/javascript/documentation/api/spreadsheet#showaggregate) property.
140140

141141
Benefits:
142142
* Reduces selection lag when dealing with large data ranges.

0 commit comments

Comments
 (0)