This is a migrated thread and some comments may be shown as answers.

grid popup editor numeric text box ignores culture

1 Answer 101 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Just
Top achievements
Rank 1
Just asked on 24 Oct 2012, 09:21 PM
I have a grid with a pop-up editor that contains a date picker control and numeric text-box. On page load I change the kendo culture 

kendo.culture("de-DE");


All data shows up correctly on the grid. Now when I click on "Edit", the popup shows up with the right date. But the value in the numeric text-box is not correctly displayed. It shows a "." instead of ",".  (grid1.png)
 
And also when I change the values form 3.7 to 3.8; the numeric text box shows it as 38 instead of 3.8 (grid2.png)

Any ideas how this should be tackled?
Thanks.

1 Answer, 1 is accepted

Sort by
0
Just
Top achievements
Rank 1
answered on 24 Oct 2012, 09:58 PM
Figured out. I just had the input box specified as data-type="number" but did not have the 
data-role="numerictextbox" specified. Adding that fixed the issue.
Tags
Grid
Asked by
Just
Top achievements
Rank 1
Answers by
Just
Top achievements
Rank 1
Share this question
or