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

Grid automatic resort on adding records

1 Answer 11 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 10 Aug 2015, 08:40 PM

On a Kendo Grid, let's say the user sorted on a column in a grid. Then the software programmatically added more records. Is there a way to programmatically tell tell the Grid "Whatever your sort parameters were, use those same parameters and sort again."?

Just redrawing the Grid would be painful, as the existing sorting parameters would be lost.

Thanks,

 Steve

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 12 Aug 2015, 11:41 AM
Hi Steve,

Adding a new item to the Grid's DataSource will redraw the Grid, while the sorting options are preserved. Here is a video example. 

Regards,
Alexander Popov
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
Steve
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or