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

[Solved] Refresh a single row after grid data source updated one row

1 Answer 813 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Heng
Top achievements
Rank 1
Heng asked on 18 Apr 2015, 12:52 AM

Here is the use case:

var data = [{name: "Joe", age:30}

, {name:"Tom", age:29}

, ....

];

and I have a grid on top of this data source, when user update single entry of it(say via input with ngModel),

say updated "Joe" to "Chris", I want to refresh a grid's row, I'm using refreshGrid to update the whole grid and reselect and refocus row/cell right now, 

thought be something better there, Is there any method can refresh just one part of row, was using angular ui-grid before which handles

stale check of data can make specific cell update, is there any way can do row/cell update?

We are using it for mobile apps(Cordova on Android), it is quite slow to refresh a grid just for one value update.

 

 

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 21 Apr 2015, 03:31 PM

Hello Heng,

I am afraid that even updating a single row it will rebound the entire grid. When the grid data source change event is fired the grid table is redrawn. 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Heng
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or