Hello,
I am trying to automatically format number on input. I am using kendo grid with asp .net core tag helper. The behaviour which I am trying to accomplish is as same as the autonumeric.js library. I want to use "." as thounsands separator and "," as decimal separator. For example, number "1234" is formatted as "1.243". The separator dot is added on input.
Any kind of help is appreciated.
Hi Rijad,
Thank you for the details provided.
In order to achieve the desired behavior, I would recommend changing the culture in your application.
The following article provides the needed information for changing the culture:
I hope this information helps.
Kind Regards,
Anton Mironov
Thank you Anton,
I have already changed the culture. The display of the number is correct (1.234,00), but when I enter the "in cell" edit mode, I would like that the separator stays there. For example when I am entering the number 1234, after pressing on the number 4 key, the "." separator should be added immediately. Is there a way to achieve this?
Kind regards,
Rijad
Hi Rijad,
Thank you for the kind words and additional details provided.
The fastest route to getting you up and running is if you could provide a runnable, isolated, sample project. Examining this project will let us replicate the issue locally and further troubleshoot it.
A dojo or a REPL example will be enough as well. Once I have the issue represented on my side, will try my best to resolve it.
Looking forward to hearing back from you.
Best Regards,
Anton Mironov