I have an array of JavaScript ascript objects that I am setting as the data source on a Kendo UI Grid. When an update come in to one of the JavaScript objects, how can I update the values in the grid?
1 Answer, 1 is accepted
0
Alexander Valchev
Telerik team
answered on 25 Mar 2014, 11:31 AM
Hello Szymon,
After widget is initialized it will copy the JavaScript array and transform it into observable array that will be used as DataSource. That means that any changes in the original array will not affect the Grid. Instead of changing the original array I would recommend working directly with the DataSource. The component provides variety of method which allow the developer to edit the data. All method are listed in the API reference: