items.editorOptionsObject
Defines the component options for the custom property value UI editor that is set via the items.editor
configuration. For further info check the Form API: field
.
Example
<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
items: [
{
field: "price",
editor: "NumericTextBox",
editorOptions: { min: 0, max: 10000, decimals: 2 }
},
{
field: "category",
editor: "DropDownList",
editorOptions: {
dataSource: ["Electronics", "Books", "Clothing"],
filter: "startswith"
}
}
],
model: {
price: 999.99,
category: "Electronics"
}
});
</script>
In this article