Volk65 Posted February 4, 2018 Share Posted February 4, 2018 Hi all! If you enter a date on the numeric keypad at the national layout, instead of a "dot" ('.') prints a comma. And the date looks like this: 12,03,2018. How can I replace the comma for a point? Replacing key value in the event of OnKeyPress and Onkeydown will not work. THX. Link to comment Share on other sites More sharing options...
Sherzod Posted February 5, 2018 Share Posted February 5, 2018 Hi, Can you try to use this approach ?!: UniDateTimePicker -> ClientEvents -> ExtEvents -> function keydown: function keydown(sender, e, eOpts) { if(e.keyCode == 110){ me = sender; e.preventDefault(); me.setRawValue(me.getRawValue() + '.'); } } Best regards, 1 Link to comment Share on other sites More sharing options...
Volk65 Posted February 9, 2018 Author Share Posted February 9, 2018 Yes! Teşekkürler Link to comment Share on other sites More sharing options...
Sherzod Posted February 9, 2018 Share Posted February 9, 2018 Всегда рад помочь! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now