Skip to content

Commit 21e1d54

Browse files
Integrated latest changes at 01-17-2025 4:31:21 PM
1 parent c8abd63 commit 21e1d54

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

ej2-react/code-snippet/gantt/resource-view-cs4/app/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ let data = [
6565
];
6666
import * as React from 'react';
6767
import * as ReactDOM from 'react-dom';
68-
import { GanttComponent, ColumnsDirective, ColumnDirective, Inject, Edit, Selection, Toolbar } from '@syncfusion/ej2-react-gantt';
68+
import { GanttComponent, ColumnsDirective, ColumnDirective, Inject, Edit, Selection, Toolbar,RowDD } from '@syncfusion/ej2-react-gantt';
6969
function App () {
7070

7171
const taskFields = {
@@ -113,7 +113,7 @@ function App () {
113113
<ColumnDirective field= 'StartDate' > </ColumnDirective>
114114
<ColumnDirective field= 'Duration' > </ColumnDirective>
115115
</ColumnsDirective>
116-
<Inject services={[ Toolbar, Edit, Selection ]}/>
116+
<Inject services={[ Toolbar, Edit, Selection,RowDD ]}/>
117117
</GanttComponent>
118118
};
119119
ReactDOM.render(<App />, document.getElementById('root'));

ej2-react/code-snippet/gantt/resource-view-cs4/app/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ let data = [
6565
];
6666
import * as React from 'react';
6767
import * as ReactDOM from 'react-dom';
68-
import { GanttComponent, ColumnsDirective, ColumnDirective, Inject, Edit, Selection, Toolbar } from '@syncfusion/ej2-react-gantt';
68+
import { GanttComponent, ColumnsDirective, ColumnDirective, Inject, Edit, Selection, Toolbar,RowDD } from '@syncfusion/ej2-react-gantt';
6969
function App () {
7070

7171
const taskFields = {
@@ -113,7 +113,7 @@ function App () {
113113
<ColumnDirective field= 'StartDate' > </ColumnDirective>
114114
<ColumnDirective field= 'Duration' > </ColumnDirective>
115115
</ColumnsDirective>
116-
<Inject services={[ Toolbar, Edit, Selection ]}/>
116+
<Inject services={[ Toolbar, Edit, Selection,RowDD ]}/>
117117
</GanttComponent>
118118
};
119119
ReactDOM.render(<App />, document.getElementById('root'));

ej2-react/spreadsheet/open-save.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -308,21 +308,6 @@ The following code snippet demonstrates how to configure the deserialization opt
308308

309309
{% previewsample "page.domainurl/code-snippet/spreadsheet/open-from-json" %}
310310

311-
### Add custom header during open
312-
313-
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 %}
321-
{% endhighlight %}
322-
{% endtabs %}
323-
324-
{% previewsample "page.domainurl/code-snippet/spreadsheet/open-save-cs3" %}
325-
326311
### Chunk response processing
327312

328313
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
394379
</SpreadsheetComponent>
395380
```
396381

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 %}
392+
{% endhighlight %}
393+
{% endtabs %}
394+
395+
{% previewsample "page.domainurl/code-snippet/spreadsheet/open-save-cs3" %}
396+
397397
### External workbook confirmation dialog
398398

399399
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

Comments
 (0)