Skip to content

Сell's formula field for excel2json lib compatibility#15

Open
CodeAnAr4y wants to merge 1 commit into
masterfrom
DHTMLX/fix/shared-formulas
Open

Сell's formula field for excel2json lib compatibility#15
CodeAnAr4y wants to merge 1 commit into
masterfrom
DHTMLX/fix/shared-formulas

Conversation

@CodeAnAr4y

@CodeAnAr4y CodeAnAr4y commented Jun 25, 2026

Copy link
Copy Markdown

Added support for optional cell.formula metadata when exporting JSON to XLSX.
Normal formulas are written as regular formulas.
Shared formula masters are written with t="shared", si, ref, and formula value.
Shared formula followers are written as shared formula references using t="shared" and si.
cell.formula now takes priority over legacy cell.v = "=...". If no formula metadata is provided, the old v-based formula export still works.

Task: https://tracker.webix.io/issue/DHX-5167/Spreadsheet-some-formulas-are-not-imported-from-Excel

Snippet example: https://snippet.dhtmlx.com/2quhc78m

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.

1 participant