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

Kendo Grid and Angular

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 11 Jun 2015, 07:44 PM
What is the recommended way to bind data to the Kendo Grid when using the Kendo Angular directives? I have seen code that uses the Kendo DataSource. I have seen code that uses the Kendo Observable Array. What is the right method?

Also, here is some background on the functionality of the grid that I will be needing on my project in case this influences the binding method. The grid will have a large number of columns (could be up to 200 columns) and the row size could reach about 10,000 rows. The rows will need to be able to be edited inline. 
Some of the columns will be calculated columns off of columns with data. Some of the columns will be calculations off of other calculated columns. Also, all of the calculations will need to update when a value in the calculation changes. These calculations can be complex, so I had thought that I would use an Angular formula service that could be called to make the calculation and return the value.

I am experiencing extreme slowness in the grid because of these requirements or at least how I currently have them implemented. I am not sure if sure if it is because Angular is watching the values and updating too many spots or something else. 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 15 Jun 2015, 12:30 PM
Hi John,

both observable arrays and datasource work as data binding object. Given your requirements, I may recommend that you use datasource, and use server-side paging, sorting etc. Also, please notice that the grid supports virtualization, which is suitable for large data sets like the one you describe. 

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