Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
360
Child row Generate Based on Parent Row
posted

Hi,
First time I am using gHierarchicalGrid in my angular 2 (typescript & HTML) project. In my project child row should be generate based on the Parent Row.
I have two table StudentDetails and Engineering_subject (attached Image file for Table Structure), so in this case studentdetails is parent and Enginnering_subject is child table. so the grid should be work like this.
1)When Form load, grid should be blank with add Row button.
2).When click on add Row button, Edit Row Data Form will be Populated for parent Table Manual Input ,which have following Field:
a).StudentDetails (DropDown).
3) Once i will select studentname from dropdown & click on Done, it will check with DB if student is Engineering student or not , if its engineering student then Child row will Generated  for manual input else not.

Table Structure

Thanks

Parents Reply Children