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

Is it possible to bind a form into a hierarchy grid?

1 Answer 46 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Debosmita
Top achievements
Rank 1
Debosmita asked on 12 Mar 2021, 09:59 AM
I am trying to add a form inside a hierarchy grid in place of nested grid using clientdetailtemplateid but it's not getting bounded.

1 Answer, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 16 Mar 2021, 04:14 PM

Hi Debosmita,

In order to bind the form to the data item in the parent grid, you would have to use the MVVM approach. Namely, all of the inputs of the form should have the data-bind attribute assigned to the respective field.

After that, within the DetailInit event of the grid, access the parent row and bind it to the format via the bind() method

Let me know if additional details are required.

 

Kind regards,
Tsvetomir
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid
Asked by
Debosmita
Top achievements
Rank 1
Answers by
Tsvetomir
Telerik team
Share this question
or