New to Kendo UI for jQuery? Start a free 30-day trial

Messages.commands

configuration

Defines the text and/or title for the command buttons that are used across the component.

<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
    messages: {
        commands: {
            details: "View Details",
            excel: "Export Excel File",
            group: "Group Properties",
            pdf: "Export PDF File",
            search: "Search properties...",
            sort: "Sort Properties"
        }
    },
    model: {
        foo: "bar",
        baz: 5
    }
});
</script>

Defines the title attribute for the details command.

Default: "Toggle Info box"

<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
    messages: {
        commands: {
            details: "Show Property Details"
        }
    },
    model: {
        foo: "bar",
        baz: 5
    }
});
</script>

Defines the text of the Export to Excel button that exports the component's data in spreadsheet format.

Default: "Export to Excel"

<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
    messages: {
        commands: {
            excel: "Export as Spreadsheet"
        }
    },
    model: {
        foo: "bar",
        baz: 5
    }
});
</script>

Defines the title attribute for the group DropDownList.

Default: "Group Items"

<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
    messages: {
        commands: {
            group: "Group by Category"
        }
    },
    model: {
        foo: "bar",
        baz: 5
    }
});
</script>

Defines the text of the Export to PDF button that exports the component's data in PDF format.

Default: "Export to PDF"

<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
    messages: {
        commands: {
            pdf: "Export as Document"
        }
    },
    model: {
        foo: "bar",
        baz: 5
    }
});
</script>

Defines the placeholder text in the PropertyGrid search panel.

Default: "Search..."

<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
    messages: {
        commands: {
            search: "Find properties..."
        }
    },
    model: {
        foo: "bar",
        baz: 5
    }
});
</script>

Defines the title attribute for the Sort DropDownList.

Default: "Sort"

<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
    messages: {
        commands: {
            sort: "Sort Properties"
        }
    },
    model: {
        foo: "bar",
        baz: 5
    }
});
</script>