Edit this page

max

Gets or sets the max value of the widget.

Parameters

value Number | String

The max value to set.

Returns

Number The max value of the widget.

Example - get the max value of the NumericTextBox

<input id="numerictextbox" />
<script>
$("#numerictextbox").kendoNumericTextBox();

var numerictextbox = $("#numerictextbox").data("kendoNumericTextBox");

var max = numerictextbox.max();

console.log(max);
</script>

Example - set the max value of the NumericTextBox

<input id="numerictextbox" />
<script>
$("#numerictextbox").kendoNumericTextBox();

var numerictextbox = $("#numerictextbox").data("kendoNumericTextBox");

var max = numerictextbox.max();

numerictextbox.max(10);
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy