Kendo.Mvc.UI.OrgChart
Kendo UI OrgChart component
Properties
DataSource
The data source of the widget which is used to render the OrgChart items. Can be a JavaScript object which represents a valid kendo.data.OrgChartDataSource configuration, a JavaScript array, or an existing kendo.data.OrgChartDataSource instance. If the dataSource option is set to a JavaScript object or an array, the widget will initialize a new kendo.data.OrgChartDataSource instance and will use that value as the DataSource configuration. or If the dataSource option is an existing kendo.data.OrgChartDataSource instance, the widget will use that instance and will not initialize a new one..
Editable
If set to false, the user will not be able to edit the data to which the OrgChart is bound. By default, editing is enabled.The editable option can also be set to a JavaScript object (which represents the editing configuration).
GroupField
Specifies the field the nodes should be grouped by. If any value is passed, the OrgChart uses its grouping rendering mode.
GroupHeaderTemplate
Provides an option to customize the default template for the group label (using the field value and name by default).
GroupHeaderTemplateId
The id of the script element used for GroupHeaderTemplate
Messages
Provides configuration options for the messages present in the OrgChart widget.
Template
Defines a node card template.
TemplateId
The id of the script element used for Template
Methods
WriteHtml(System.IO.TextWriter)
Writes the HTML.
WriteInitializationScript(System.IO.TextWriter)
Writes the initialization script.
Parameters
writer System.IO.TextWriter
The TextWriter.
SerializeSettings
Serialize current instance to Dictionary