Skip to content

[update] docs related to export with json2excel library#108

Open
mafanya23 wants to merge 3 commits into
nextfrom
actualize-export-links-5197
Open

[update] docs related to export with json2excel library#108
mafanya23 wants to merge 3 commits into
nextfrom
actualize-export-links-5197

Conversation

@mafanya23
Copy link
Copy Markdown
Contributor

No description provided.

@mafanya23 mafanya23 requested a review from SergMitMin May 25, 2026 12:53
@mafanya23 mafanya23 self-assigned this May 25, 2026
mafanya23 added 2 commits June 5, 2026 11:32
- add default CDN URL (next/worker.js) to url param description, usage guide, and migration guide
- offer next (latest) and x.x (specific version) as parallel options with clear or connector
- update code examples to use next as default URL with inline comment for x.x alternative
- remove dangling 'Replace x.x' sentences, fold version note into descriptions
- reformat next/x.x version options as bullet lists in all three files
- add GitHub repo link to version note in grid_xlsx_method.md
- remove stray trailing colon from migration.md bullet
- update @example block url to use next with inline version comment
Comment on lines +19 to +21
- `url?: string` - (optional) the path to the **worker.js** file of the [Json2Excel](https://github.com/dhtmlx/json2excel) library (where export will be processed). By default, `https://cdn.dhtmlx.com/libs/json2excel/next/worker.js?vx` is used. For a local export server, set the path to the **worker.js** file relative to your server:
- use `"../libs/json2excel/next/worker.js?vx"` for the latest version
- use `"../libs/json2excel/x.x/worker.js?vx"` for a specific version (replace `x.x` with the actual version from the [GitHub repository](https://github.com/dhtmlx/json2excel))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Для локального экспорта юзеры сами устанавливают путь к воркеру, и наверное логично тут оставить только опцию с х.х:
И чуть ее поправить
- use "../libs/json2excel/x.x/worker.js?vx" for a specific version (replace x.x the version deployed on your server)

актуально для всех подобных мест

Comment thread docs/grid/usage.md
Comment on lines +488 to +490
- provide a local path to the **worker.js** file as the `url` option:
- use `"../libs/json2excel/next/worker.js?vx"` for the latest version
- use `"../libs/json2excel/x.x/worker.js?vx"` for a specific version (replace `x.x` with the actual version from the [GitHub repository](https://github.com/dhtmlx/json2excel))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Для локального экспорта юзеры сами устанавливают путь к воркеру, и наверное логично тут оставить только опцию с х.х:
И чуть ее поправить

use "../libs/json2excel/x.x/worker.js?vx" for a specific version (replace x.x the version deployed on your server)
актуально для всех подобных мест

Comment thread docs/grid/usage.md
~~~jsx
grid.export.xlsx({
url: "../libs/json2excel/1.3/worker.js?vx", // a local path to the export module
url: "../libs/json2excel/next/worker.js?vx", // latest version; use x.x instead of next for a specific version
Copy link
Copy Markdown

@SergMitMin SergMitMin Jun 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// the path to the export module, if a local export server is used
(можно и х.x поставить или оставить next)

// export with config settings
grid.export.xlsx({
url: "../libs/json2excel/1.3/worker.js?vx", // a local path to the `worker.js` file of the export module
url: "../libs/json2excel/next/worker.js?vx", // latest version; use x.x instead of next for a specific version
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

можно оставить старый коммент

Comment thread docs/migration.md
Comment on lines +26 to +28
If you use your own export server, you need to install the **Json2Excel** library and set the path to the **worker.js** file as the `url` option:
- use `"../libs/json2excel/next/worker.js?vx"` for the latest version
- use `"../libs/json2excel/x.x/worker.js?vx"` for a specific version (replace `x.x` with the actual version from the [GitHub repository](https://github.com/dhtmlx/json2excel))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Для локального экспорта юзеры сами устанавливают путь к воркеру, и наверное логично тут оставить только опцию с х.х:
И чуть ее поправить

use "../libs/json2excel/x.x/worker.js?vx" for a specific version (replace x.x the version deployed on your server)
актуально для всех подобных мест

Comment thread docs/migration.md
~~~jsx
grid.export.xlsx({
url: "../libs/json2excel/1.3/worker.js?vx", // the path to the export module, if a local export server is used
url: "../libs/json2excel/next/worker.js?vx", // latest version; use x.x instead of next for a specific version
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

оставить старый коммент(можно и х.x поставить или оставить next)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants