changed the row //mygrid.setNumberFormat(“$0,000”,0);
with
mygrid.setNumberFormat(“0,000.00”,0,“,”,“.”);
as I would need the decimal separator “,” (=comma) and the thousands separator “.”
I also tried to add following rows, as it didn’t work, but it didn’t changed
mygrid.i18n.decimal_separator=“,”;
mygrid.i18n.group_separator=“.”;
the problem is the following:
when the grid is showing the rows, everything is ok
when I start editing the column 0 with the new decimal separator comma,
I’m not able to handle it with the comma; I still need to work with the decimal point,
and then it works
(but my users won’t use the decimal point, as in our country the decimal separator is still the comma “,”)
what am I to change to make editing of numeric cells working with changed decimal separator?
I add to this question a print-screen showing the problem and the changed html (just those 2-3 lines) and the used xml (still the same as the one of your example) decimal_problem.zip (47.7 KB)
nobody else has similiar problems? should be a problem for a lot of European countries, isn’t it like that? maybe I simply didn’t find the solution in the documentation? how do other users come along with this situation, which should happen very often, as it is very basic …
previous projects were done with 3.6-version and never heard of a similar situation … someone’s able to open my eyes and show me my mistake? thanks!
Unfortunately this is the expected behavior.
number is formatted in the cell view only.
in the editor you will have a common js number, just like in your xml.