We can pass the parent grid’s primary key field value to child grid using “parentKeyFieldValue” property of the parentDetails.
The following code snippet explain the above behavior:
Here we have assigned the dataSource for the childGrid in load event of the child grid with passing the parentKeyFieldValue as an additional parameter (employeeID is an additional parameter).
Figure: Passing parent grid’s primary key value to the child grid
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.