I have a grid utilizing the detail template. I'm looking for the easiest way so that when I fire the edit event in the parent row, the detail row would go into edit mode as well (both inline).
Thanks..
0
Petur Subev
Telerik team
answered on 27 Mar 2013, 03:28 PM
Hello Jeremy,
You can try to achieve this with some jQuery traversing and the edit event of the master Grid.
Attach fucntion to the edit evend of the master grid and:
find the closest tr element related to the e.container (e is the argument object of the edit event)
find the next detail row .k-detail-row
find the inner .k-grid
get its client object
use the editRow of client object
Detailed information about the client object of the Grid and its events is covered here.
Kind regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!