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

How do you tell a cell to update?

1 Answer 50 Views
ListView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 05 Apr 2016, 07:22 PM

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)

http://www.screencast.com/t/5tE8nFx1b7e

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?

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 06 Apr 2016, 07:44 AM
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.

Regards,
Deyan
Telerik
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
Tags
ListView
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Deyan
Telerik team
Share this question
or