New to Kendo UI for jQueryStart a free 30-day trial

SetOptions

methods

Allows changing the widget configuration after initialization. Depending on the widget, some properties may not be changed, and the method's implementation varies for each widget.

In some cases, the setOptions method can recreate and rebind the widget instance. Calling setOptions in an event handler or the respective widget is not recommended and can cause an endless loop or a JavaScript error.

Parameters:newOptionsObject

The options to be changed or added.

<input type="number" id="ntb" value="1" />

<script>

$(function(){
    $("#ntb").kendoNumericTextBox({
        max: 5
    });

    // ...

    $("#ntb").data("kendoNumericTextBox").setOptions({
        max: 10
    });
});

</script>
Not finding the help you need?
Contact Support