Edit this page

MVVM Listbox with Template Does Not Display Data When Item Is Moved

Environment

Product ListBox for Progress Kendo UI

 

Description

My ListBoxes use a template to display their items. When I drag or move an item with the toolbar to the second ListBox, the item is moved but the data is not displayed.

How can I display the data of the ListBox item that was moved?

Solution

The template is not automatically rebound after drag-and-drop and this issue is expected. To work around it, manually refresh the second ListBoxt on the dragend event of the first ListBox.

For the full implementation, refer to this Dojo example. If the arrows from the toolbar are used, you might need to apply similar logic to the add event (with timeout).

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy