jQWidgets Forums

jQuery UI Widgets Forums Grid NumberInput decimal separator

This topic contains 2 replies, has 2 voices, and was last updated by  carlo 12 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • NumberInput decimal separator #16991

    carlo
    Participant

    How can one change the decimal separator for a columntype: ‘NumberInput’ from ‘.’ to ‘,’ ? If we put in a ‘2,7’ the ‘cellendedit’ event is not fired.

    Regards
    Carlo

    NumberInput decimal separator #17005

    Peter Stoev
    Keymaster

    Hi Carlo,

    In the column’s createeditor callback, you can set the “decimalSeparator” property of jqxNumberInput:

    $("#jqxNumberInput").jqxNumberInput({ decimalSeparator: "," })

    .

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    NumberInput decimal separator #17094

    carlo
    Participant

    Hi Peter,

    what about setting the jqWidgets decimalSeparator default value once for all widgets on one page ?
    Also setting the theme once would be nice.

    Best Regards
    Carlo

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.