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. Quote 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 Quote 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 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 9, 2018 Share Posted February 9, 2018 Всегда рад помочь! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.