Specifies the culture info used by the NumericTextBox widget.
Example
// specify on widget initialization
$("#numeric").kendoNumericTextBox({
culture: "de-DE"
});
Specifies the number precision. If not set precision defined by current culture is used.
Example
// specify on widget initialization
$("#numeric").kendoNumericTextBox({
min: 0,
max: 1,
step: 0.1,
decimals: 1
});
Specifies the text of the tooltip on the down arrow.
Example
// specify on widget initialization
$("#numeric").kendoNumericTextBox({
min: 0,
max: 100,
value: 50,
upArrowText: "More",
downArrowText: "Less"
});
Specifies the format of the number. Any valid number format is allowed.
Example
$("#numeric").kendoNumericTextBox({
format: "p0", // format as percentage with % sign
min: 0,
max: 1,
step: 0.01
});
Specifies the largest value the user can enter.
Example
// specify in the HTML
<input id="numeric" value="10" type="number" min="-100" max="100" step="10"/>
<br />
// specify on widget initialization
$("#numeric").kendoNumericTextBox({
min: 0,
max: 100,
value: 50
});
Specifies the smallest value the user can enter.
Example
// specify in the HTML
<input id="numeric" value="10" type="number" min="-100" max="100" step="10"/>
<br />
// specify on widget initialization
$("#numeric").kendoNumericTextBox({
min: 0,
max: 100,
value: 50
});
Specifies the text displayed when the input is empty.
Example
// specify on widget initialization
$("#numeric").kendoNumericTextBox({
min: 0,
max: 100,
value: 50,
placeholder: "Select A Value"
});
Specifies the increment/decrement step.
Example
// specify in the HTML
<input id="numeric" value="10" type="number" />
<br />
// specify on widget initialization
$("#numeric").kendoNumericTextBox({
min: 0,
max: 1,
step: 0.1
});
Specifies the text of the tooltip on the up arrow.
Example
// specify on widget initialization
$("#numeric").kendoNumericTextBox({
min: 0,
max: 100,
value: 50,
upArrowText: "More",
downArrowText: "Less"
});
Specifies the value of the NumericTextBox widget.
Example
// specify in the HTML
<input id="numeric" value="10" type="number" min="-100" max="100" step="10"/>
// specify on widget initialization
$("#numeric").kendoNumericTextBox({
min: 0,
max: 100,
value: 50
});