Dear Sirs,
Is there possibility that we get example of CRUD GRID with HierarchicalDataSource, or it can be used only for data reading?
model sample is this:
Student{
id,
name,
TookExams{
id,
name
}
}
Can we update this in one grid via single DataSource?
Regards,
Bojan
Is there possibility that we get example of CRUD GRID with HierarchicalDataSource, or it can be used only for data reading?
model sample is this:
Student{
id,
name,
TookExams{
id,
name
}
}
Can we update this in one grid via single DataSource?
Regards,
Bojan
4 Answers, 1 is accepted
0
Brad
Top achievements
Rank 1
answered on 27 Aug 2012, 12:42 PM
I also am interested in this...
0
Hello all,
Alex Gyoshev
the Telerik team
The grid does not support binding to the HierarchicalDataSource out of the box -- only the TreeView does, and it uses it in a read-only fashion.
All the best,Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Tracy
Top achievements
Rank 1
answered on 28 Aug 2012, 12:33 AM
Hi,
What kind of backend/response does the TreeView with remote binding to HierarchicalDataSource expect? The example given makes requests to /Employees using JSONP, but otherwise the documentation doesn't really specify what the datasource expects or how it populates and renders the treeview. Can my backend return JSON and I specify dataType: 'json' in transport.read?
Thanks,
Tracy
What kind of backend/response does the TreeView with remote binding to HierarchicalDataSource expect? The example given makes requests to /Employees using JSONP, but otherwise the documentation doesn't really specify what the datasource expects or how it populates and renders the treeview. Can my backend return JSON and I specify dataType: 'json' in transport.read?
Thanks,
Tracy
0
Hello Tracy,
Alex Gyoshev
the Telerik team
The documentation of the HierarchicalDataSource states exact server responses in JSON format.
Greetings,Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!