EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
October 10, 2024, 09:49:11 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
Numberbox precision value from a variable
Pages: [
1
]
« previous
next »
Print
Author
Topic: Numberbox precision value from a variable (Read 5960 times)
pratikk
Newbie
Posts: 49
Numberbox precision value from a variable
«
on:
November 30, 2017, 11:20:16 AM »
Hi,
How can I set a numberbox precision value from a variable
Logged
jarry
Administrator
Hero Member
Posts: 2274
Re: Numberbox precision value from a variable
«
Reply #1 on:
December 01, 2017, 07:10:28 PM »
You can change the 'precision' at runtime.
Code:
$('#nb').numberbox('options').precision = 2;
$('#nb').numberbox('fix');
Logged
pratikk
Newbie
Posts: 49
Re: Numberbox precision value from a variable
«
Reply #2 on:
December 03, 2017, 12:41:46 AM »
Thank You
This was what I am looking for
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...