OrgChart

Example

Razor
<kendo-orgchart>
    <editable></editable>
    <group-header-template></group-header-template>
    <messages />
    <node-template></node-template>
    <orgchart-datasource></orgchart-datasource>
</kendo-orgchart>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
cards-colorsString[]An array of strings defining the cards top-border color for each level starting from the top level. If not set, the colors from the Kendo Chart series will be used.
datasource-idStringThe Id of the data source.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
as-moduleBoolean
group-fieldStringSpecifies the field the nodes should be grouped by. If any value is passed, the OrgChart uses its grouping rendering mode.
group-header-templateStringProvides an option to customize the default template for the group label (using the field value and name by default).
group-header-template-handlerStringProvides an option to customize the default template for the group label (using the field value and name by default).
group-header-template-idStringProvides an option to customize the default template for the group label (using the field value and name by default).
group-header-template-viewIHtmlContentProvides an option to customize the default template for the group label (using the field value and name by default).
has-client-componentBoolean
on-cancelStringTriggered when the user is about to cancel the changes for the currently edited node. Preventable.
on-changeStringTriggered when the selected node has been changed upon user interaction.
on-collapseStringTriggered before a node has been collapsed upon user interaction. Preventable.
on-createStringTriggered when a node is about to be created upon user interaction. Preventable.
on-data-bindingStringTriggered before the actual change in the dataSource occurs. Preventable.
on-data-boundStringTriggered after the dataSource change event has been processed (adding/removing/loading/editing items).
on-deleteStringTriggered when a node is about to be deleted as of a consequence of user interaction. Preventable.
on-editStringTriggered when a node is about to enter edit mode upon user interaction. Preventable.
on-expandStringTriggered before a node has been expanded upon user interaction. Preventable.
on-saveStringTriggered when the user attempts to save the current changes on the edited node. Preventable.
on-selectStringTriggered when the user attempts to select a new node or group of nodes (in grouped scenario). Preventable.
sanitize-idBoolean
script-attributesIDictionary<String,Object>
templateStringDefines a node card template.
template-handlerStringDefines a node card template.
template-idStringDefines a node card template.
template-viewIHtmlContentDefines a node card template.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support