Premium forums

Selectable ListView binded to a DataSource looses selection on data change

  • rlapao
    rlapao avatar

    27 Apr 2012 (Link to this post)

    Hi,

    I'm I have created an example that illustrates my problem: http://jsfiddle.net/tcTRy/11/

    I believe that this is the expected behavior, but is there a workaround to don't loose selection?

    In my case I have a listview that when is selected show some details, and some of the details causes the list view datasource data to change. For instace if I edit the Title this will update the Title in the listview, although it would be nice to don't loose the selection, or else the details will be hidden.

    Any ideas?

    Thanks,
    Ricardo
  • Kevin
    Kevin avatar

    10 Aug 2012 (Link to this post)

    +1 same issue here.

    I have a datasource for my listview. The objects of the datasource having a property called "data". The data property isnt shown in the listview so it wouldnt be necessary to refresh the list everytime the data property changed. Is there a way to prevent the list from refreshing (and deselecting)? In my case the data proeprty is an array and I add items to this array almost the whole time.
  • Kevin
    Kevin avatar

    14 Aug 2012 (Link to this post)

    Seems like the problem is solved with the latest release.

Read FAQ or see Kendo UI in action!

Launch Demos