Fires before an item is added to the ListBox.

The function context of the event handler (available through the this keyword) that will be set to the widget instance.

Event Data

e.items Array

The item elements that are to be added.

e.dataItems Array

The data items that are to be added.


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

        connectWith: "listBoxB",
        toolbar: {
            tools: [ "transferTo" ]

        add: function(e) {
            // handle event
In this article