Join the Team Forms community

Updated last month

Dynamically change rows in Data Grid

At a glance

The community member asked if a Data Grid can dynamically change the number of rows based on the number of rows in another Data Grid or the value of another field. Another community member responded that this is possible, as the value of a Data Grid can be set programmatically, such as through a calculated value. However, they noted that it may be trickier when dealing with repeating tables, but it is still possible. The community member did not provide a definitive answer, but suggested that they could help with an example if the original poster had one in mind.

Can a Data Grid dynamically change the number of rows based the number of rows in another Data Grid or the value of another field?

A
1 comment

Hi Nick,

This is certainly possible. Like every other component in Team Forms the data-grids value can be set programatically (e.g. via a calculated value). It gets a little trickier if you dealing with repeating tables but it's certainly possible. Did you have an example in mind that we could help with?