Skip to main content
September 19, 2022
Solved

Layout with variable number of elements

  • September 19, 2022
  • 3 replies
  • 0 views

Hi!

I have a variable number of elements composed of richtext and grid. Previously I used a columnsLayout which allowed me to put 3 elements in a row, but if I have more of them it's not readable. Currently I'm looking for a solution to have a row for every 3 element I have in data. I wanted to use a counter inside a forEach, but it seems that it's not working like in other programming languages. So I would like to know which is an optimal solution to create a layout of variable number of elements.

Best answer by harshitb6843

Do you think it can help? - appianspace.com/.../

3 replies

harshitb6843
September 19, 2022

Do you think it can help? - appianspace.com/.../

September 19, 2022

It worked, thank you!

stefanhelzle0001
Brainy
September 19, 2022

Can you explain your use case in more detail? And what does "I wanted to use a counter inside a forEach, but it seems that it's not working like in other programming languages" mean?