This is a migrated thread and some comments may be shown as answers.

Adding/removing new item to databound list clears current selection

1 Answer 58 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Kristian
Top achievements
Rank 1
Kristian asked on 19 Aug 2015, 01:45 PM

When I add/remove an object from a databound list (using push/splice) the current selection is removed. dataBound event is triggered.

This should only happen if one removes the currently selected item(s).

 

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 21 Aug 2015, 08:52 AM

Hello Kristian,

thank you for your feedback. Indeed, this is so. The listview rebinds itself and selection is not persisted across rebinds. So far, this hasn't been a critical problem, as the listview is rarely used as a form element - this behavior is present i the various form widgets. We will consider it as a future enhancement. 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
ListView
Asked by
Kristian
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or