How do I pass field data from the master grid to the detail grid in the modal popup editor in kendo ui mvc? And how do I do the opposite?
Thanks,
James
1 Answer, 1 is accepted
0
Alex Hajigeorgieva
Telerik team
answered on 18 Dec 2018, 04:01 PM
Hi, James,
Dependent on the desired outcome, there are different ways to achieve it. Also, it would be great to confirm if this is intended for a UI for ASP.NET MVC Grid or ASP.NET Core one?
One way to pass data from the master to the child grid would be to utilize the detailInit event that the Kendo UI Grid triggers when a child is expanded. The event comes with handly event data such as the master dataItem
Finally, when it comes to passing data from the detail grid in an edit popup to the currently edited item, there are again different options. If you wish to trigger change, then you may use the set() method:
Let me know the exact requirements so I may assist you with specific suggestions.
Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.