items.validationObject

Specifies the validation rules for the field.

Example

<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
    items: [
        { 
            field: "name", 
            validation: { required: true, minLength: 2 }
        },
        { 
            field: "email", 
            validation: { required: true, email: true }
        },
        { 
            field: "age", 
            validation: { min: 18, max: 120 }
        }
    ],
    model: {
        name: "",
        email: "",
        age: 25
    }
});
</script>
In this article
items.validation
Not finding the help you need?
Contact Support