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

bug sharing datasource between two grids

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Edwin
Top achievements
Rank 1
Edwin asked on 15 Mar 2012, 10:56 PM
Although two grids can share data items from a single data source, I ran into problems when I created a hierarchy of data, the secondary grid would show an array on the first grid's data item. This wasn't a problem before I started using the beta, so I am guessing it has something to do with the arrays on the data items becoming observable objects.

I encountered too odd bugs.
1. editable:false on the schema was ignored in the secondary grid.
2. Any cell that is empty on the secondary grid could not be edited.

Here is an example:
http://jsfiddle.net/egrubbs/H6dAW/7/

I solved the problem by just creating a new array with just the necessary values taken out of the Observable objects. I would really appreciate it if the grid would give me an error when the datasource won't work with it.

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 16 Mar 2012, 06:18 PM
Hello Edwin,

Indeed, you are correct. However, we were able to locate the cause of the issue and the fix will be included in the Q1 2012 release of KendoUI. Meanwhile I have  updated your telerik points.

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