Adding/removing new item to databound list clears current selection

2 posts, 0 answers
  1. Kristian
    Kristian avatar
    2 posts
    Member since:
    Oct 2013

    Posted 19 Aug 2015 Link to this post

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

     

  2. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 21 Aug 2015 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top