WebViewer Version: 11.13.0
Do you have an issue with a specific file(s)? Yes
Can you reproduce using one of our samples or online demos? Yes
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? No
Is your issue related to annotations? No
Summary
Spreadsheet Editor does not appear to respect locale-dependent Excel formatting.
Description
Hi Apryse team,
We are testing locale-dependent Excel formatting in WebViewer 11.13 and noticed different behavior between two rendering modes.
Expected
Locale-dependent Excel formats (for example Date*, Time*, number separators, etc.) should follow the supplied locale, similar to Microsoft Excel.
Actual
When opening the same XLSX file using:
WebViewer.Modes.SPREADSHEET_EDITOR
locale-dependent formats are always rendered using US formatting, for example:
7/1/2026
July 1, 2026
1:00:00 PM
1,000,000.00
We pass the following option to UI.loadDocument:
officeOptions: {
formatOptions: {
locale: "da-DK"
}
}
but it does not produce any visible change.
However, when opening the same XLSX file using:
WebViewer.Modes.DEFAULT
the locale is respected and locale-dependent formats are rendered correctly.
We also searched the WebViewer 11.13 typings and documentation but could not find any locale-related API for Spreadsheet Editor.
Questions
-
Is Spreadsheet Editor expected to support locale-dependent Excel formatting?
-
Or is locale support currently available only in the Office rendering pipeline (
Modes.DEFAULT)?
Steps to reproduce
-
Open the attached XLSX file.
-
Load it using
WebViewer.Modes.SPREADSHEET_EDITOR. -
Pass:
officeOptions: {
formatOptions: {
locale: "da-DK"
}
}
-
Observe that locale-dependent formats remain in US format.
-
Open the same file using
WebViewer.Modes.DEFAULT. -
Observe that locale-depend ent formats follow the supplied locale.
Thank you!
Excel formatting.xlsx (11.9 KB)