You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can add your own custom header to the open action in the Spreadsheet. For processing the data, it has to be sent from server to client side and adding customer header can provide privacy to the data with the help of Authorization Token. Through the [`beforeOpen`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/#beforeopen) event, the custom header can be added to the request during open action.
314
-
315
-
{% tabs %}
316
-
{% highlight js tabtitle="app.jsx" %}
317
-
{% include code-snippet/spreadsheet/open-save-cs3/app/app.jsx %}
318
-
{% endhighlight %}
319
-
{% highlight ts tabtitle="app.tsx" %}
320
-
{% include code-snippet/spreadsheet/open-save-cs3/app/app.tsx %}
When opening large Excel files with many features and data, the server response can become very large. This might cause memory issues or connection problems during data transmission. The `Chunk Response Processing` feature solves this by dividing the server response into smaller parts, called chunks, and sending them to the client in parallel. The client receives these chunks and combines them to load the Excel data smoothly into the spreadsheet.
@@ -394,6 +379,21 @@ The [attachment](https://www.syncfusion.com/downloads/support/directtrac/general
394
379
</SpreadsheetComponent>
395
380
```
396
381
382
+
### Add custom header during open
383
+
384
+
You can add your own custom header to the open action in the Spreadsheet. For processing the data, it has to be sent from server to client side and adding customer header can provide privacy to the data with the help of Authorization Token. Through the [`beforeOpen`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/#beforeopen) event, the custom header can be added to the request during open action.
385
+
386
+
{% tabs %}
387
+
{% highlight js tabtitle="app.jsx" %}
388
+
{% include code-snippet/spreadsheet/open-save-cs3/app/app.jsx %}
389
+
{% endhighlight %}
390
+
{% highlight ts tabtitle="app.tsx" %}
391
+
{% include code-snippet/spreadsheet/open-save-cs3/app/app.tsx %}
When you open an Excel file that contains external workbook references, you will see a confirmation dialog. This dialog allows you to either continue with the file opening or cancel the operation. This confirmation dialog will appear only if you set the `AllowExternalWorkbook` property value to **false** during the open request, as shown below. This prevents the spreadsheet from displaying inconsistent data.
0 commit comments