Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ documentation: ug

# Save spreadsheet to AWS S3

To save a file to the AWS S3, you can follow the steps below
To save a file to the AWS S3, you can follow the steps below.

**Step 1:** Create a Simple Spreadsheet Sample in React

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Start by following the steps provided in this [link](https://help.syncfusion.com

3. Import the required namespaces at the top of the file:

```Csharp
```csharp

using System;
using System.IO;
Expand All @@ -37,7 +37,7 @@ using Azure.Storage.Blobs;

4. Add the following private fields and constructor parameters to the `SpreadsheetController` class, In the constructor, assign the values from the configuration to the corresponding fields.

```Csharp
```csharp

private readonly string _storageConnectionString;
private readonly string _storageContainerName;
Expand All @@ -52,7 +52,7 @@ public SpreadsheetController(IConfiguration configuration)

5. Create the `SaveToAzure()` method to save the document to the Azure Blob storage.

```Csharp
```csharp

[HttpPost]
[Route("SaveToAzure")]
Expand Down Expand Up @@ -92,7 +92,7 @@ N> Note: Install the Azure.Storage.Blobs NuGet package in the service project. E

**Step 3:** Modify the index File in the Spreadsheet sample to using [`saveAsJson`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#saveasjson) method to serialize the spreadsheet and send it to the back-end

```typescript
```js

<button class="e-btn" onClick={saveToAzure}>
Save to Azure Blob Storage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: Docker deployment
documentation: ug
---

# Spreadsheet server docker image overview in React Spreadsheet
# Docker Image Overview in React Spreadsheet

The [**Syncfusion<sup style="font-size:70%">&reg;</sup> Spreadsheet (also known as Excel Viewer)**](https://www.syncfusion.com/spreadsheet-editor-sdk/react-spreadsheet-editor) is a feature-rich control for organizing and analyzing data in a tabular format. It provides all the common Excel features, including data binding, selection, editing, formatting, resizing, sorting, filtering, importing, and exporting Excel documents.

Expand Down
15 changes: 13 additions & 2 deletions Document-Processing/Excel/Spreadsheet/React/open-excel-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ documentation: ug

# Open Excel Files in Syncfusion React Spreadsheet

The Syncfusion React Spreadsheet allows you to open Excel files (.xlsx) by reading the file, converting it into the client‑side Spreadsheet model, and rendering it with full support for data, styles, formats, and more.
The React Spreadsheet component follows an open, server‑assisted workflow to import Excel files accurately and efficiently. When a user uploads an Excel file, the component sends it to the server instead of handling the parsing in the browser. This ensures smooth performance even for large or heavily formatted workbooks.

On the server, the [`Syncfusion.EJ2.Spreadsheet library`](https://www.nuget.org/packages/Syncfusion.EJ2.Spreadsheet.AspNet.Core), built on top of [`Syncfusion XlsIO`](https://help.syncfusion.com/document-processing/excel/excel-library/net/overview), reads the Excel file and extracts all relevant details—data, styles, formulas, formatting, and sheet structure. The server then converts this information into a Spreadsheet‑compatible JSON workbook.

Once the processing is complete, the JSON data is returned to the client, where the React Spreadsheet component renders the workbook in the browser. This process preserves the original Excel layout and ensures the imported content appears with full fidelity.

To enable opening Excel files, set the [`allowOpen`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#allowopen) property to **true** and specify the service url using th [`openUrl`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#openurl) property. The control will send the uploaded file to this endpoint, where it is processed and returned as JSON for the Spreadsheet to render.

Expand All @@ -33,7 +37,7 @@ The following sample shows the `Open` option by using the [`openUrl`](https://ej

{% previewsample "/document-processing/code-snippet/spreadsheet/react/open-save-cs1" %}

Please find the below table for the beforeOpen event arguments.
Please find the below table for the [beforeOpen](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#beforeopen) event arguments.

| **Parameter** | **Type** | **Description** |
| ----- | ----- | ----- |
Expand All @@ -48,6 +52,13 @@ Please find the below table for the beforeOpen event arguments.

To open Excel files programmatically in the Spreadsheet, you can use the [`open`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#open) method of the Spreadsheet component. Before invoking this method, ensure that the [`openUrl`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#openurl) property is properly configured, as it is required for processing the file on the server.

Please find the table below for the [`open`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#open) method arguments.

| **Parameter** | **Type** | **Description** |
|----------|--------------|-----------------------------------|
| options | [OpenOptions](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/openOptions) | Options for opening the excel file. |


The following code example demonstrates how to open an Excel file programmatically in the Spreadsheet.

```js
Expand Down
15 changes: 13 additions & 2 deletions Document-Processing/Excel/Spreadsheet/React/save-excel-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ documentation: ug

# Save Excel Files in Syncfusion React Spreadsheet

The Syncfusion React Spreadsheet allows you to save spreadsheet data as Excel files by sending the client‑side Spreadsheet model to the server, where it is processed and exported with full support for data, styles, formats, and more.
When exporting an Excel file from the React Spreadsheet component, the workflow is handled through a clear server‑side process. First, the Spreadsheet content displayed in the browser is serialized into a structured JSON workbook. This JSON contains all the necessary details—such as data, formatting, formulas, styles, and sheet structure.

This JSON workbook is then sent to the server, where the [`Syncfusion.EJ2.Spreadsheet library`](https://www.nuget.org/packages/Syncfusion.EJ2.Spreadsheet.AspNet.Core) uses [`Syncfusion XlsIO`](https://help.syncfusion.com/document-processing/excel/excel-library/net/overview) to convert the JSON data into a fully formatted Excel file. XlsIO rebuilds the workbook with complete fidelity, preserving all the features applied in the Spreadsheet.

Since, the server is responsible for generating the final Excel file, the total export time can vary depending on the workbook’s complexity, including the number of sheets, amount of formatting, and usage of advanced features like formulas or conditional formatting. Once the generation is complete, the Excel file is returned to the client for download.

To enable saving Excel files, set the [`allowSave`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#allowsave) property to **true** and specify the service URL using the [`saveUrl`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#saveurl) property. When a save action is triggered, the control sends the spreadsheet model to this endpoint, where it is processed and returned as a downloadable Excel file.

Expand All @@ -33,7 +37,7 @@ The following sample shows the `Save` option by using the [`saveUrl`](https://ej

{% previewsample "/document-processing/code-snippet/spreadsheet/javascript-es6/open-save-cs5" %}

Please find the below table for the beforeSave event arguments.
Please find the below table for the [`beforeSave`](https://ej2.syncfusion.com/documentation/api/spreadsheet/index-default#beforesave) event arguments.

| **Parameter** | **Type** | **Description** |
| ----- | ----- | ----- |
Expand All @@ -54,6 +58,13 @@ Please find the below table for the beforeSave event arguments.

To save Excel files programmatically in the Spreadsheet, you can use the [`save`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#save) method of the Spreadsheet component. Before invoking this method, ensure that the [`saveUrl`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#saveurl) property is properly configured, as it is required for processing and generating the file on the server.

Please find the below table for the [`save`](https://ej2.syncfusion.com/documentation/api/spreadsheet/index-default#save) method arguments.

| **Parameter** | **Type** | **Description** |
|-----------------------|------------------------|------------------------------------------------------------------|
| options | `Object` | Options for opening the JSON object. |
| jsonConfig *(optional)* | [`SerializationOptions`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/serializationOptions) | Specify the serialization options to customize the loading of the JSON data. |

The following code example demonstrates how to save an Excel file programmatically in the Spreadsheet.

```js
Expand Down