PropertyGridItem
Defines the fluent API for configuring the PropertyGridItem settings.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class PropertyGridItem : JsonObject
Inheritance: objectJsonObjectPropertyGridItem
Inherited Members
Constructors
Initialization for the PropertyGridItem
public PropertyGridItem()
Properties
Sets the description for the property.
public string Description { get; set; }
The 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.
public bool? Editable { get; set; }
Provides a way to specify a custom editing UI for the value of the property. To create the editing UI, use the container parameter.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
public string Editor { get; set; }
public IFormEditor EditorComponent { get; set; }
Specifies 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".
public string FieldType { get; set; }
The 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.
public string Format { get; set; }
Sets the name of the group to which the property will belong, if grouping is enabled. Only root level items can be grouped.
public string Group { get; set; }
public List<PropertyGridItem> Items { get; set; }
The template which is rendered for the property's value.
public string Template { get; set; }
The handler for the Template
public string TemplateHandler { get; set; }
The id for the Template
public string TemplateId { get; set; }
Methods
Serialize current instance to Dictionary
protected override void Serialize(IDictionary<string, object> json)
Overrides: