How can I dynamically resize/reorient fields in a Data Repeater?
I have a Data Repeater which shows various fields. Some of these fields are dynamically shown/hidden using some Active Form Flows within the Data Repeater.
How can I dynamically resize/rearrange the fields with respect to the currently displayed fields?
Comments
-
Hey there,
By placing the Data Repeater fields within a Horizontal Stack Layout, you can achieve a collapsible/expandable Data Repeater.
Horizontal and Vertical Stacks: https://documentation.decisions.com/docs/horizontal-and-vertical-stack-layouts?highlight=Horizontal
As the hide/show conditions are met, the respective field is hidden/shown and the fields are dynamically relocated (without leaving a space in-between).
The default Form with the Data Repeater:
When the Date Of Birth field is hidden:
When the Date of Birth Field is shown:
I have attached a sample project which demonstrates the above functionality.
When “Show” is placed in the Name field, the Date of Birth field is shown. When “Hide” is placed in the Name field, the Date of Birth field is hidden.
I hope this helps!
-Cody
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions