#104621
Peter
Participant

Also, if this is the way to do this, is there a way to control the actual-value vs the display-value?

Aside from the padding of the cell being lost in my sample above, there are other issues as well:

1) If I use toLocaleString('da-DK', { maximumFractionDigits: 2, minimumFractionDigits: 2}) the decimal separator becomes a “,” comma when displayed, but a “.” point when in edit mode. I would like it to be a “,” comma in both cases, but the final value when saved should of cause be a “.” point.

2) If I use toLocaleString('da-DK', { maximumFractionDigits: 2, minimumFractionDigits: 2, useGrouping: true}) in order to show a localized 1000 divider, in this case a “.” point, then it stays in the cell when it is in edit mode, which it should not.

  • This reply was modified 1 year, 2 months ago by Peter.