How do you tell a cell to update?

2 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 05 Apr Link to this post

    Scenario is to "Swipe to complete" effectively...where when they swipe it, the icon would be updated.

    I have a couple problems though (the Array is a {N} ObservableArray)

    Once it completes I just want to update the icon, but I don't know how to tell this cell to re-render itself (I think it doesn't do it automatically since each observablearrayitem isn't observable itself... right?).  I tried removing and re-adding the item to the list but you can see the result from the video (bit ugly).  There doesn't seem to be an Add\Delete item animation of "None"...I suppose if that was there I could just delete\add and the user wouldn't be the wiser?

    Thoughts, suggestions?

  2. Deyan
    Deyan avatar
    2026 posts

    Posted 06 Apr Link to this post

    Hi Steve,

    Is your data item inheriting from Observable? You can also try calling refresh() on RadListView.

    Let me know in case of further questions.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top