Jump to content

UniDateTimePicker and Numeric KeyPad


Volk65

Recommended Posts

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

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,

  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...