Skip to main content
faraza4154
Known Participant
May 22, 2023 3:47 PM UTC
Question

Dynamically create card layout

I want to create below boxes dynamically for example if I receive 5 values from DB then there should be 2 rows and 3 columns, 1st complete row and 2nd row with 2 items

3 replies

stefanhelzle0001
Brainy
May 22, 2023 4:35 PM UTC

Read my blog post. It explains how to turn a list of items into a matrix and use two nested foreach to render them.

appian.rocks/.../

harshitb6843
Brainy
May 22, 2023 7:02 PM UTC

Got you covered - appianspace.com/.../

faraza4154
Known Participant
May 24, 2023 3:42 PM UTC

That was really helpful than you Harshit.