messages.none String

The message that will be used in the Parent DropDownList editor to specify the null option (no parent).

Example

<div id="orgchart"></div>

<script>
    $("#orgchart").kendoOrgChart({
        messages: {
            none: "--Select--"
        },
        dataSource: [
            { id: 1, name: "Jane", title: "Boss", expanded: true },
            { id: 2, name: "John", title: "Lead", expanded: true, parentId: 1 },
            { id: 3, name: "Jill", title: "Worker", expanded: true, parentId: 2 },
            { id: 4, name: "James", title: "Worker", expanded: true, parentId: 2 },
        ]
    });
</script>
In this article
Not finding the help you need? Improve this article