messagesObject

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

Example

<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>

messages.toolsObject

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

Example

<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>

messages.tools.moveDownString

Defines the text of the Move Down button that is located in the toolbar of the ListBox.

Example

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

<script>
    $("#listBoxA").kendoListBox({
        connectWith: "listBoxB",
        dataSource: [ "ItemA1", "ItemA2" ],
        toolbar: {
            tools: [ "moveDown" ]
        },
        messages: {
            tools: {
                moveUp: "MoveDown"
            }
        }
    });

    $("#listBoxB").kendoListBox({
        connectWith: "listBoxA",
        dataSource: [ "ItemB1", "ItemB2" ]
    });
</script>

messages.tools.moveUpString

Defines the text of the Move Up button that is located in the toolbar of the ListBox.

Example

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

<script>
    $("#listBoxA").kendoListBox({
        connectWith: "listBoxB",
        dataSource: [ "ItemA1", "ItemA2" ],
        toolbar: {
            tools: [ "moveUp" ]
        },
        messages: {
            tools: {
                moveUp: "MoveUp"
            }
        }
    });

    $("#listBoxB").kendoListBox({
        connectWith: "listBoxA",
        dataSource: [ "ItemB1", "ItemB2" ]
    });
</script>

messages.tools.removeString

Defines the text of the Delete button that is located in the toolbar of the ListBox.

Example

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

<script>
    $("#listBoxA").kendoListBox({
        connectWith: "listBoxB",
        dataSource: [ "ItemA1", "ItemA2" ],
        toolbar: {
            tools: [ "remove" ]
        },
        messages: {
            tools: {
                remove: "Remove"
            }
        }
    });

    $("#listBoxB").kendoListBox({
        connectWith: "listBoxA",
        dataSource: [ "ItemB1", "ItemB2" ]
    });
</script>

messages.tools.transferAllFromString

Defines the text of the Transfer All From button that is located in the toolbar of the ListBox.

Example

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

<script>
    $("#listBoxA").kendoListBox({
        connectWith: "listBoxB",
        dataSource: [ "ItemA1", "ItemA2" ],
        toolbar: {
            tools: [ "transferAllFrom" ]
        },
        messages: {
            tools: {
                transferAllFrom: "TransferAllFrom"
            }
        }
    });

    $("#listBoxB").kendoListBox({
        connectWith: "listBoxA",
        dataSource: [ "ItemB1", "ItemB2" ]
    });
</script>

messages.tools.transferAllToString

Defines the text of the Transfer All To button that is located in the toolbar of the ListBox.

Example

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

<script>
    $("#listBoxA").kendoListBox({
        connectWith: "listBoxB",
        dataSource: [ "ItemA1", "ItemA2" ],
        toolbar: {
            tools: [ "transferAllTo" ]
        },
        messages: {
            tools: {
                transferAllTo: "TransferAllTo"
            }
        }
    });

    $("#listBoxB").kendoListBox({
        connectWith: "listBoxA",
        dataSource: [ "ItemB1", "ItemB2" ]
    });
</script>

messages.tools.transferFromString

Defines the text of the Transfer From button that is located in the toolbar of the ListBox.

Example

<select id="listBoxA"></select>
<select id="listBoxB"></select>
<script>
    $("#listBoxA").kendoListBox({
        connectWith: "listBoxB",
        dataSource: [ "ItemA1", "ItemA2" ],
        toolbar: {
            tools: [ "transferFrom" ]
        },
        messages: {
            tools: {
                transferFrom: "TransferFrom"
            }
        }
    });

    $("#listBoxB").kendoListBox({
        connectWith: "listBoxA",
        dataSource: [ "ItemB1", "ItemB2" ]
    });
</script>

messages.tools.transferToString

Defines the text of the Transfer To button that is located in the toolbar of the ListBox.

Example

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

<script>
    $("#listBoxA").kendoListBox({
        connectWith: "listBoxB",
        dataSource: [ "ItemA1", "ItemA2" ],
        toolbar: {
            tools: [ "transferTo" ]
        },
        messages: {
            tools: {
                transferTo: "TransferTo"
            }
        }
    });

    $("#listBoxB").kendoListBox({
        connectWith: "listBoxA",
        dataSource: [ "ItemB1", "ItemB2" ]
    });
</script>