Skip to content

Commit fbc8333

Browse files
committed
1014442: Updated contents for open/save in json
1 parent e11b9e3 commit fbc8333

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

Document-Processing/Excel/Spreadsheet/React/open-excel-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ openFromJson is used because it provides a smooth and reliable way to load Excel
168168
169169
The main benefit for users is a faster and more stable loading experience. Because the heavy Excel‑processing work is completed on the server, the spreadsheet opens quickly in the browser and maintains the correct layout, values, and styles. The JSON format helps avoid common issues that might occur with large or complex Excel files, making the entire experience more dependable and easier for users.
170170
171-
The following code snippet demonstrates openFromJson method:
171+
Please find the code to fetch the JSON data and load it into the Spreadsheet component below.
172172
173173
{% tabs %}
174174
{% highlight js tabtitle="app.jsx" %}

Document-Processing/Excel/Spreadsheet/React/rows-and-columns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ You can change the size of rows and columns in the spreadsheet by using [setRows
155155

156156
You can change the height of single or multiple rows by using the [setRowsHeight](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/#setrowsheight) method.
157157

158-
There is a property `customHeight` on a rows model that indicates the row height has been explicitly set by dragging the row header boundary with the mouse or by a programmatic resize. The Spreadsheet sets this property using the setRow method during a resize operation.
158+
There is a property `customHeight` on a row's model that indicates the row height has been explicitly set by dragging the row header boundary with the mouse or by a programmatic resize. The Spreadsheet sets this property using the setRow method during a resize operation.
159159

160160
When customHeight is true, it means the height was manually defined rather than automatically determined from cell content or formatting.
161161

Document-Processing/Excel/Spreadsheet/React/save-excel-files.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,18 +134,15 @@ Please find below the code to retrieve blob data from the Spreadsheet control be
134134
135135
{% previewsample "/document-processing/code-snippet/spreadsheet/javascript-es6/save-as-blobdata-cs1" %}
136136
137-
### Save as JSON
138-
139-
serializes the current workbook into a JSON object that contains sheets, cell data, styles, formulas, and workbook settings. you can store that object and later restore it with openFromJson.
137+
### Save Excel files as JSON
140138
141139
The [saveAsJson](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#saveasjson) method converts the entire Spreadsheet workbook into a JSON object. This JSON includes sheets, cell values, formulas, styles, formatting, charts, and other workbook settings. It acts as a complete representation of the current spreadsheet state, which can be stored, sent to a server, or later restored using openFromJson.
142140
143141
saveAsJson is used to capture the full state of the Spreadsheet in a simple, structured format. Instead of creating an Excel file immediately, the workbook is converted into JSON, which is easier for applications to handle. This makes it useful when you want to store spreadsheet data temporarily, save it to a database, send it through an API, or allow another system to process or modify the data before creating an Excel file. It also helps when you want to restore the same workbook later without losing styles, formulas, or layout.
144142
145143
The main benefit for users is that the Spreadsheet state can be saved quickly without waiting for the server to generate an Excel file. Because JSON is lightweight, it can be stored or transferred very fast, making the save operation feel smoother. When the JSON is loaded again, the workbook looks exactly as before, which gives users a consistent experience. This also reduces errors and makes the application more responsive during save operations.
146144
147-
148-
The following code snippet demonstrates saveAsJson method:
145+
Please find below the code to retrieve JSON data from the Spreadsheet control below.
149146
150147
{% tabs %}
151148
{% highlight js tabtitle="app.jsx" %}

0 commit comments

Comments
 (0)