New to Kendo UI for jQuery? Start a free 30-day trial

SetOptions

methods

Sets the options of the Form. Use this method if you want to enable/disable a particular option dynamically.

Parameters:optionsObject

The configuration options to be set.

<form id="myForm"></form>

<script>
    $("#myForm").kendoForm({
        formData: {
            ID: 1,
            Name: "Ivan",
            Address: "Sofia"
        }
    });

    var form = $("#myForm").getKendoForm();

    form.setOptions({
        orientation: "horizontal"
    });
</script>
Not finding the help you need?
Contact Support