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

Can I add array of items to grid that will cause only one refresh ?

1 Answer 25 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Maciej
Top achievements
Rank 1
Maciej asked on 01 Aug 2018, 09:00 PM
After some investigation I discovered that when you add an array of items do grid bound datasource, the grid will refresh (rebuild from scratch) for every new item. In some cases that a major performance hit. Can I add array of items to grid that will cause only one refresh ?

1 Answer, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 02 Aug 2018, 07:46 AM
Hello Maciej,

A possible solution is to unbind the change event handler of the dataSource from the Grid before adding the items. For example, check this KB article:
Regards,
Preslav
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Maciej
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or