Local machines regional settings tamper with my DataGrid Cells number format.

Answered
0
0

Hi Dear team,

I never saw something like this before.

I firstly use DataGridView control so I saw on some on my test customers machines that regional settings tamper with DataGridView cells number format.

On my machine, when I load production site all is fine.

But on my customers machines it is hell.

Like example number one thousand, in DG cell is shown like 1000,000

Number with point decimal delimiters are shown with coma decimal delimiters. Like example 12.45 was shown like 12,45

How I can prevent that?

Thank you!

  • You must to post comments
Best Answer
0
0

This is likely caused by localization.  https://docs.wisej.com/docs/concepts/localization#localizing-the-system

By default, the culture is set to “auto”- it is detected based on the browser. You can change this by setting the culture in Default.json, like so:

"culture":  "en"

See https://docs.wisej.com/docs/concepts/localization#detecting-switching-the-browser-language

 

-Julie

  • mgmst
    • mgmst
    • Sep 25, 2023 - 5:40 pm
    Thank you, Julie. Love you!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.