messages Object

Provides configuration options for the messages present in the OrgChart widget.

Example

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

<script>
    $("#orgchart").kendoOrgChart({
        messages: {
            label: "Org label",
            edit: "Modify",
            create: "New",
            destroy: "Remove",
            destroyContent: "Remove this item and all its children?",
            destroyTitle: "Remove item",
            cancel: "Skip",
            save: "OK",
            menuLabel: "Modify menu",
            uploadAvatar: "Upload new image",
            parent: "Related to",
            name: "Full name",
            title: "Position",
            none: "--Select--",
            expand: "open",
            collapse: "close"
        },
        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