Items
configurationAdditional configuration options for the properties of the model.
items
Arrayitems.description
StringSets the description for the property.
items.editable
Boolean|FunctionThe JavaScript function that is executed when the value cell is about to be opened for editing. The returned result will determine whether an editor will be created.
Items of type Object are not editable.
items.editor
String|FunctionProvides a way to specify a custom editing UI for the value of the property. To create the editing UI, use the container parameter.
- The editing UI has to contain an element with a set
nameHTML attribute. The attribute value should be set tovalue.- The validation settings that are defined in the
model.fieldsconfiguration will not be applied automatically. In order for the validation to work, you (the developer) are responsible for attaching the corresponding validation attributes to the editor input. If the custom editor is a component, to avoid visual issues, you can customize the tooltip position of the validation warning.
When used as String, defines the editor component type. Set the options for the component via the items.editorOptions.For further info check the Form API: field
items.editorOptions
ObjectDefines 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.
items.field
StringMaps the item configuration to the model property.
items.fieldType
StringSpecifies the JavaScript type of the field value. Used to determine the correct default editor when the model value is null. Accepted values are "string", "number", "boolean", and "date".
items.format
StringThe format that is applied to the value before it is displayed. Takes the {0:format} form where format is a standard number format, custom number format, standard date format or a custom date format.
The
kendo.formatfunction is used to format the value.
items.group
StringSets the name of the group to which the property will belong, if grouping is enabled. Only root level items can be grouped.
items.items
ArrayAdditional configuration options for the nested properties of the model, if any.
items.template
String|FunctionThe template which is rendered for the property's value.
items.validation
ObjectSpecifies the validation rules for the field.