orientation String

Configures the Form orientation. Available options are "horizontal" and "vertical".

By default, the Form is rendered with vertical orientation.

Example - set horizontal orientation

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

<script>
    $("#myForm").kendoForm({
        orientation: "horizontal",
        formData: {
            ID: 1,
            Name: "Ivan",
            Address: "Sofia"
        },
        items: [{
            field: "Name",
            label: "Name:"
        }, {
            field: "Address",
            label: "Address:"
        }]
    });
</script>
In this article
Not finding the help you need? Improve this article