jQWidgets Forums
jQuery UI Widgets › Forums › Editors › NumberInput › remove Underscore in jqxNumberInput
Tagged: remove underscore jqxInputNumber
This topic contains 4 replies, has 2 voices, and was last updated by devsim 6 years, 9 months ago.
-
Author
-
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,
DevSimSouth Korean Junior Developer
http://devesim.tistory.com/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 numbersUsing simple input mode like This, removes the mask with the underscores and the digits’ groups.
Best Regards,
MartinjQWidgets Team
http://www.jqwidgets.com/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,000I can not remove __ (underscore)
in advanced mode…Please Help Me…. y_y;;;;
Best Regards,
DevSimSouth Korean Junior Developer
http://devesim.tistory.com/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,
MartinjQWidgets Team
http://www.jqwidgets.com/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,
DevSimSouth Korean Junior Developer
http://devesim.tistory.com/ -
AuthorPosts
You must be logged in to reply to this topic.