Last modified: Jan 24, 2024

Dynamic behaviour in repeating groups

How to hide rows in a repeating group

Hide rows within repeating groups

Sometimes you want to hide rows within repeating groups when some criteria are met. This can be done with expression by using the hiddenRow property. The example below shows how to hide a row when the firstName within the data model is equal to “John”.

    1{
    2  "id": "myGroup",
    3  "type": "RepeatingGroup",
    4  "hiddenRow": ["equal", ["dataModel", "firstName"], "John"],
    5  ...
    6}
    
    1{
    2  "id": "myGroup",
    3  "type": "Group",
    4  "hiddenRow": ["equal", ["dataModel", "firstName"], "John"],
    5  ...
    6}
    

    You can read more about expressions here.