Skip to content

Commit 22d4f04

Browse files
committed
[update] what's new and migration guide for v9.2
1 parent b48253a commit 22d4f04

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

docs/migration.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,33 @@ description: You can explore how to migrate to newer versions in the documentati
66

77
# Migration to newer versions
88

9+
9.1 -> 9.2
10+
-----------
11+
12+
### Grid
13+
14+
Since v9.2 the Grid component uses the WebAssembly-based library [Json2Excel](https://github.com/dhtmlx/json2excel) for [exporting Grid data to an Excel file](grid/usage.md/#exporting-data-to-excel). By default, you don't need to specify the link to the export module.
15+
16+
However, if you use your own export server, you need to install the **Json2Excel** library and provide the local path to the export module on your computer by setting the path to the **worker.js** file as `"../libs/json2excel/1.3/worker.js?vx"`:
17+
18+
~~~jsx title="Before v9.2"
19+
grid.export.xlsx({
20+
url: "https://export.dhtmlx.com/excel", // optional, the link to the export module
21+
// more export settings
22+
});
23+
~~~
24+
25+
~~~jsx title="From v9.2"
26+
grid.export.xlsx({
27+
url: "../libs/json2excel/1.3/worker.js?vx", // optional, a local path to the export module
28+
// more export settings
29+
});
30+
~~~
31+
32+
:::info
33+
The previously used export module server is still available for the Suite versions up to v9.1.
34+
:::
35+
936
9.0 -> 9.1
1037
-----------
1138

docs/whatsnew.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ Released on June X, 2025
3939
### Updates
4040

4141
- Grid. The logic and appearance of the [drag-n-drop functionality](grid/configuration.md/#drag-n-drop) is improved. Check the [related sample](https://snippet.dhtmlx.com/uevdwjuo)
42-
- Grid. The [export to Excel](grid/usage.md/#exporting-data-to-excel) functionality is updated
42+
- Grid. The [export to Excel](grid/usage.md/#exporting-data-to-excel) functionality is updated. The [Json2Excel](https://github.com/dhtmlx/json2excel) module is now used for exporting Grid data to Excel. Check the [Migration guide](migration.md/#91---92) for details
43+
- Grid. The [`xlsx()`](grid/api/export/grid_xlsx_method.md) method of the Export module gets two new properties:
44+
- `tableName`- to set the name of a sheet with grid data in the Excel file
45+
- `dateFormatMask` - to set the date format mask for Excel
4346
- Grid. The possibility to use keyboard navigation for [selecting ranges of cells](grid/configuration.md/#shortcut-keys-for-selecting-ranges-of-cells). The following shortcut keys and their combinations are available:
4447

4548
<table>

0 commit comments

Comments
 (0)