editMode Boolean|String
(default: true)
If set to true
, the user will be able to edit the values of the object's properties to which the PropertyGrid is bound. By default, editing is enabled.
editMode
can also be set to a string (which specifies the edit mode).
The supported string values are:
- (Default)
incell
Example - disable editing for the PropertyGrid
<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
columns: {
fieldColumn: { width: 200 },
valueColumn: { width: 250 }
},
model: {
foo: "bar",
baz: 5
},
editMode: false
});
</script>