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

How to make the child grid editable in hierarchy grid

2 Answers 225 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nagaraj
Top achievements
Rank 1
Nagaraj asked on 14 Apr 2016, 08:03 AM

Hello Sir,

     I want to use the hierarchy grid. I cant successfully read the data in both parent and child grid. I cant edit the data in the parent grid but I am unable to edit the data in the child grid. Data is loading fine until I make the child grid editable.

once I write <kendo:grid-editable mode="inline" /> this statement in child grid nothing is getting loaded in the child grid and parent grid is working fine.

Is it not possible to edit the child grid?

Also how am I suppose to insert the new record in child grid?

2 Answers, 1 is accepted

Sort by
0
Nagaraj
Top achievements
Rank 1
answered on 15 Apr 2016, 12:57 PM

Hello Sir,

    I tried few things and i could get the data in the child grid and can also edit it. but when i press the update button I am getting the no content to map exception. Actually for some reason my jsp is not sending any data to server in the request object. It is working fine for parent grid but not for child grid.

I have attached my jsp file and also fiddlercap object to this post. I am getting error for update2.

I would really appreciate if you could help me.

Thanks

0
Daniel
Telerik team
answered on 19 Apr 2016, 07:12 AM
Hello,

The data will be available as "models" only if batch updates are enabled for the dataSource which does not seem to be the case from the code for the detail grid that you provided. Please check if enabling the batch option or changing the paramereMap function to serialize the options resolves the problem.

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