enable
(enable)
// get a reference to the numeric textbox
var textbox = $("#textbox").data("kendoNumericTextBox");
// disables the numerictextbox
numerictextbox.enable(false);
// enables the numerictextbox
numerictextbox.enable(true);
enable
: Boolean
max
(value)
: Number
// get a reference to the NumericTextBox widget
var numerictextbox = $("#numerictextbox").data("kendoNumericTextBox");
// get the max value of the numerictextbox.
var max = numerictextbox.max();
// set the max value of the numerictextbox.
numerictextbox.max(10);
value
: Number | String
min
(value)
: Number
// get a reference to the NumericTextBox widget
var numerictextbox = $("#numerictextbox").data("kendoNumericTextBox");
// get the min value of the numerictextbox.
var min = numerictextbox.min();
// set the min value of the numerictextbox.
numerictextbox.min(-10);
value
: Number | String
step
(value)
: Number
// get a reference to the NumericTextBox widget
var numerictextbox = $("#numerictextbox").data("kendoNumericTextBox");
// get the step value of the numerictextbox.
var step = numerictextbox.step();
// set the step value of the numerictextbox.
numerictextbox.step(0.1);
value
: Number | String
value
(value)
: Number
// get a referene to the numeric textbox
var numerictextbox = $("#textbox").data("kendoNumericTextBox");
// get the value of the numerictextbox.
var value = numerictextbox.value();
// set the value of the numerictextbox.
numerictextbox.value("10.20");
value
: Number | String