It is a bit unclear how do you perform the editing. Could you please provide code snippets demonstrating your current implementation.
Generally speaking you should obtain reference to the respective ListView Model
and the use its set
method. The Model is a collection of key-value pairs and can be retrieved in two ways.
One is through the event argument of the ListView's click event:
Another way is to use the Grid dataSource
API and the getByUid
method, which accepts the data-uid HTML attribute of the ListView's <li> as an argument:
Once you have the Model, use its set
method to modify the data.
This will cause DataSource to throw its change event which will force the ListView to refresh automatically. The scroller position should not change.
Another approach is to use MVVM and edit via value bound inputs. The approach is demonstrated in this code library project
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI