When adding a row to the Grid, show nested table form

I have a Grid with the add functionality enabled. When I am adding, based on user selection in the first form, I want to display a nested table add form where the user can put in info and save both at once. 


1 Reply

PS Pavithra Subramaniyam Syncfusion Team February 23, 2022 12:01 PM UTC

Hi Maxwell, 

Thanks for contacting Syncfusion support. 

From your query we understood that you have a hierarchy Grid and while adding a new record in parent Grid, you need to add corresponding child records as well. In our EJ2 Grid, When a new parent row is added, its child Grid can be expanded and rendered only after the new parent row is successfully added to the Grid. This is because the child Grid data is rendered based on its relationship with the parent data(linked using the ‘queryString’ property), So it’s rendering can be initiated only after adding the parent row. This is the default behavior of the Grid based on its current architecture and so it is not feasible to achieve your requirement of rendering child row for adding new records before adding the parent row.  

Regards, 
Pavithra S 


Loader.
Up arrow icon