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

Messages

configuration

Defines the localization texts for the ListBox. Used primarily for localization.

messages

Object
<select id="listBox">
    <option>Orange</option>
    <option>Apple</option>
    <option>Banana</option>
</select>
<script>
$("#listBox").kendoListBox({
    toolbar: {
        tools: ["moveUp", "moveDown", "transferTo", "transferFrom", "transferAllTo", "transferAllFrom", "remove"]
    },
    messages: {
        tools: {
            moveUp: "Move Up",
            moveDown: "Move Down", 
            transferTo: "Transfer To",
            transferFrom: "Transfer From",
            transferAllTo: "Transfer All To",
            transferAllFrom: "Transfer All From",
            remove: "Remove"
        }
    }
});
</script>

Defines the localization texts for tools in the ListBox. Texts are used when you configure the tooltip and accessibility support.

<select id="listBoxA"></select>
<select id="listBoxB"></select>

<script>
    $("#listBoxA").kendoListBox({
        connectWith: "listBoxB",
        dataSource: [ "ItemA1", "ItemA2" ],
        toolbar: {
            tools: [ "moveUp", "moveDown", "remove", "transferTo", "transferFrom", "transferAllTo", "transferAllFrom" ]
        },
        messages: {
            tools: {
                moveUp: "MoveUp",
                moveDown: "MoveDown",
                remove: "Remove",
                transferTo: "TransferTo",
                transferFrom: "TransferFrom",
                transferAllTo: "TransferAllTo",
                transferAllFrom: "TransferAllFrom"
            }
        }
    });

    $("#listBoxB").kendoListBox({
        connectWith: "listBoxA",
        dataSource: [ "ItemB1", "ItemB2" ]
    });
</script>
In this article
messagesmessages.tools
Not finding the help you need?
Contact Support