jQWidgets Forums

jQuery UI Widgets Forums Editors NumberInput remove Underscore in jqxNumberInput

This topic contains 4 replies, has 2 voices, and was last updated by  devsim 6 years, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • remove Underscore in jqxNumberInput #101233

    devsim
    Participant

    Hello ! JQWidgets Crew

    English isn’t my own language. so Plesase understand my English skill.

    I use jqxwidgets-5.5.0.

    I need simple mode and remove underscore in jqxNumberInput

    I try

    $(“input.jqx-widget-content”).blur(function () {
    $(“#numericInput”).jqxNumberInput({ decimal: 0, inputMode: ‘simple’, decimalSeparator: “,” });
    });

    $(“input.jqx-input-content jqx-widget-content”).blur(function () {
    $(“#numericInput”).jqxNumberInput({ decimal: 0, inputMode: ‘simple’, decimalSeparator: “,” });
    });

    In Asian Culture We don’t want see the underscore in the paper, website, whatever …

    When you guys sell the product in another Country, You need understand another culture.

    my boss don’t like underscores

    So please understand for me

    how can I remove Underscore in jqxInputNumber ?

    ex) 10,000,000

    Best Regards,
    DevSim

    South Korean Junior Developer
    http://devesim.tistory.com/

    remove Underscore in jqxNumberInput #101237

    Martin
    Participant

    Hello DevSim,

    The jqxNumberInput has an inputMode property. Its possible values are:

    ‘advanced’- the number input behavior resembles a masked input with numeric mask
    ‘simple’- the widget works as a normal textbox, but restricts the user’s input to numbers

    Using simple input mode like This, removes the mask with the underscores and the digits’ groups.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

    remove Underscore in jqxNumberInput #101241

    devsim
    Participant

    Dear Martin.

    Thanks your replay.

    but it doesn’t work.

    === No 1 case ===
    $(“#jqxNumberInput”).jqxNumberInput({
    width: ‘250px’,
    height: ’25px’,
    theme: ‘energyblue’,
    decimalDigits: 0,
    decimalSeparator: ‘,’,
    spinButtons: true,
    inputMode: ‘simple’,
    });

    Result : 100000
    Mission Failed

    === No 2 case ===
    $(“#jqxNumberInput”).jqxNumberInput({
    width: ‘250px’,
    height: ’25px’,
    theme: ‘energyblue’,
    decimalDigits: 0,
    decimalSeparator: ‘,’,
    spinButtons: true,
    inputMode: ‘advanced’,
    });

    Result : __,100,000
    Mission Failed

    === Goal of Mission ===
    >>>> 100,000

    I can not remove __ (underscore)
    in advanced mode…

    Please Help Me…. y_y;;;;

    Best Regards,
    DevSim

    South Korean Junior Developer
    http://devesim.tistory.com/

    remove Underscore in jqxNumberInput #101245

    Martin
    Participant

    Hello DevSim,

    Yes, unfortunately in advanced mode you can not remove the underscores, as they are a part of the mask.
    And in simple mode you do not have digit separators (only for the floating point: Example).

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

    remove Underscore in jqxNumberInput #101246

    devsim
    Participant

    I See..

    Thank you your replay.

    In the future, We can use the digit separators in simpleMode. I hope…

    God bless you guys.

    Best Regards,
    DevSim

    South Korean Junior Developer
    http://devesim.tistory.com/

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

You must be logged in to reply to this topic.