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

Bind nested grid in external editor?

1 Answer 139 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jeff
Top achievements
Rank 1
jeff asked on 05 May 2015, 06:57 PM

So, in Kendo, you can bind inputs or spans to your data, like:

1.<input data-bind="value: selected.title" />

1.<textarea rows='5' data-bind="value: selected.interestingNotes" required></textarea>

I have spans, inputs, etc.. in an external editor, but I also need to display a editable grid in the editor, to permit editing of data in one of the columns, based on data in a nested json array in the same dataSource as the original grid.

My question is: Can I bind my nested grid in the external editor to the array of data in the original grid? The array name is, for example 'approvers', so I thought it would look something like:

1.<div id="Grid" data-role="grid" data-bind="source: selected.approvers">

Thank you!

1 Answer, 1 is accepted

Sort by
0
Accepted
Alexander Popov
Telerik team
answered on 07 May 2015, 11:48 AM
Hi jeff,

This scenario is not supported out of the box, however you could get similar results using the approach illustrated here.

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