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

Data Binding on the grid does not work when using server grouping on a DataSource

1 Answer 128 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
aya
Top achievements
Rank 1
aya asked on 07 Nov 2013, 04:29 PM
Hi, 

we are using the declarative way to create the view. I found a problem that the data binding is not working on the grid when I want to use the server grouping on the underlying data set. When we are using client-side grouping, it works without problem.

It looks like that when I am using server side grouping, data-binding crashes with an error, that the method get (which is normally on an ObservableObject instance) is not defined on the "items" element of the group (download the example and run it).

I am sending simple example. In this example there are two datasets. One that represents the server-side grouped data and the second that is used for client-side grouping (is commented out but you can uncomment it and verify that it works fine).

The example is using kendo.all.js file but I removed that file because of licence. If You would like to try it out, please, add there this script (should be no problem).

Could You, please, point me to the problem?

Thank You for Your time.

Sincerely,


Lukas Vyhlidka
HP

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 11 Nov 2013, 02:21 PM
Hello hpsv,

Thank you for providing a sample project.

The issue which you faced with is bug in the group flattening logic. I am glad to inform you that the dev team managed to pinpoint the root of the problem and to address it. The fix will be available in the next internal build as well as in the official Q3 release which is scheduled for next week.

As a small sign of our appreciation for bringing this to our attention I updated your Telerik points.

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