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

Editable

methods

Determines if the specified field is editable or not.

Parameters:fieldString

The field that will be checked.

Returns:Boolean

—Returns true if the field is editable. Otherwise, returns false.

<script>
var Product = kendo.data.Model.define({
    fields: {
        id: {
            editable: false
        },
        name: {
            editable: true
        }
    }
});
var product = new Product();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(product.editable("id")); // outputs "false"
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(product.editable("name")); // outputs "true"
</script>
Not finding the help you need?
Contact Support