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

Items.grid

configuration

Grid layout settings of the form item.

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

<script>
    $(document).ready(function () {
        $("#myForm").kendoForm({
            formData: {
                FirstName: "John",
                LastName: "Doe",
                Email: "john.doe@email.com"
            },
            layout: "grid",
            grid: {
                cols: 2,
                gutter: 20
            },
            items: [
                {
                    type: "group",
                    label: "Personal Information",
                    layout: "grid",
                    grid: { cols: 1, gutter: 10},
                    items: [
                        {
                            field: "FirstName",
                            label: "First Name:",
                            validation: { required: true }
                        },
                        {
                            field: "LastName",
                            label: "Last Name:",
                            validation: { required: true }
                        },
                        {
                            field: "Email",
                            label: "Email",
                            validation: {
                                required: true,
                                email: true
                            }
                        }
                    ]
                },
            ],
        });
    });
</script>
Number|Array

Defines the columns of the grid.

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

<script>
    $(document).ready(function () {
        $("#myForm").kendoForm({
            formData: {
                FirstName: "John",
                LastName: "Doe",
                Email: "john.doe@email.com"
            },
            layout: "grid",
            items: [
                {
                    type: "group",
                    label: "Personal Information",
                    layout: "grid",
                    grid: { cols: 1, gutter: 10},
                    items: [
                        {
                            field: "FirstName",
                            label: "First Name:",
                            validation: { required: true }
                        },
                        {
                            field: "LastName",
                            label: "Last Name:",
                            validation: { required: true }
                        },
                        {
                            field: "Email",
                            label: "Email",
                            validation: {
                                required: true,
                                email: true
                            }
                        }
                    ]
                },
            ],
        });
    });
</script>
Number|String|Object

Defines the width of the gutters between the columns / rows.

<form id="myForm"></form>
<script>
$(document).ready(function () {
    $("#myForm").kendoForm({
        formData: {
            FirstName: "John",
            LastName: "Doe",
            Email: "john.doe@email.com"
        },
        items: [{
            type: "group",
            label: "Personal Information",
            layout: "grid",
            grid: {
                cols: 2,
                gutter: 20
            },
            items: [{
                field: "FirstName",
                label: "First Name:",
                validation: { required: true }
            }, {
                field: "LastName",
                label: "Last Name:",
                validation: { required: true }
            }, {
                field: "Email",
                label: "Email:",
                validation: { required: true, email: true }
            }]
        }]
    });
});
</script>