Nested Edit Grid - How to get Child Edit Grid rows and their values in the Parent Edit Grid row template #5880
Unanswered
wescleveland56
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With nested Edit Grids, how do I access each Child Edit Grid's row in the Parent Edit Grid's row template?
I have created a simple example in the Formio.js Sandbox and saved it with Sandbox ID: 671bf24909534399450c15b2. When the Parent Edit Grid displays using the default template, it shows the LAST Child row. I want to be able to show all children along with the parent. I know I can modify the row template to customize the output. I just don't see how to access the Child Edit Grid's rows in order to build the "Children" column for a Parent row. I would like to do something like:
Note that the above output contains 2 data rows: one row for the first parent and one row for the second parent. All of the children for a parent are in a single
<div>
with each line separated by<br>
tags.Can someone guide me in the right direction?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions