diff --git a/docs/api/spreadsheet_exportmodulepath_config.md b/docs/api/spreadsheet_exportmodulepath_config.md index 1a050977..6f5590c2 100644 --- a/docs/api/spreadsheet_exportmodulepath_config.md +++ b/docs/api/spreadsheet_exportmodulepath_config.md @@ -20,7 +20,7 @@ exportModulePath?: string; ~~~jsx {2} const spreadsheet = new dhx.Spreadsheet("spreadsheet", { - exportModulePath: "../libs/json2excel/1.0/worker.js", + exportModulePath: "../libs/json2excel/x.x/worker.js", // other config parameters }); ~~~ @@ -35,8 +35,10 @@ To export files you need to: - install the **JSON2excel** library - set the path to the **worker.js** file via the **exportModulePath** option in one of the two ways: - - by providing a local path to the file on your computer, like: `"../libs/json2excel/1.0/worker.js"` - - by providing a link to the file from CDN: `"https://cdn.dhtmlx.com/libs/json2excel/1.0/worker.js"` + - by providing a local path to the file on your computer, like: `"../libs/json2excel/x.x/worker.js"` + - by providing a link to the file from CDN: `"https://cdn.dhtmlx.com/libs/json2excel/x.x/worker.js"` + +Replace `x.x` with the actual version number (check the [GitHub repository](https://github.com/dhtmlx/json2excel)). By default the link to CDN is used. diff --git a/docs/loading_data.md b/docs/loading_data.md index 2173468f..1c1f137e 100644 --- a/docs/loading_data.md +++ b/docs/loading_data.md @@ -306,12 +306,14 @@ The library uses the WebAssembly-based library [Json2Excel](https://github.com/d - install the **JSON2Excel** library - specify the [](api/spreadsheet_exportmodulepath_config.md) option in the Spreadsheet configuration and set the path to the **worker.js** file in one of the two ways: - - by providing a local path to the file on your computer, like: `"../libs/json2excel/1.0/worker.js"` - - by providing a link to the file from CDN: `"https://cdn.dhtmlx.com/libs/json2excel/1.0/worker.js"` + - by providing a local path to the file on your computer, like: `"../libs/json2excel/x.x/worker.js"` + - by providing a link to the file from CDN: `"https://cdn.dhtmlx.com/libs/json2excel/x.x/worker.js"` + +Replace `x.x` with the actual version number (check the [GitHub repository](https://github.com/dhtmlx/json2excel)). ~~~jsx var spreadsheet = new dhx.Spreadsheet(document.body, { - exportModulePath: "../libs/json2excel/1.0/worker.js" + exportModulePath: "../libs/json2excel/x.x/worker.js" }); ~~~ diff --git a/docs/react/props.md b/docs/react/props.md index fbdd48fb..58466d15 100644 --- a/docs/react/props.md +++ b/docs/react/props.md @@ -169,11 +169,13 @@ Enable sheet tabs with `multiSheets={true}`. Pass `false` to hide the tab bar en ~~~tsx ~~~ +Replace `x.x` with the actual version numbers (check the [Excel2Json](https://github.com/dhtmlx/excel2json) and [Json2Excel](https://github.com/dhtmlx/json2excel) GitHub repositories). + ### European number formatting ~~~tsx