In traditional UI that you need to display 8 columns but not to use tabular layout how will we show this on UI?

In traditional UI that you need to display 8 columns but not to use tabular layout how will we show this on UI?

Would need a little more detail about what you are trying to achieve but it sounds like you want a Repeating Dynamic Layout

Image is from a Pega Academy mission, if you want more details on that.

1 Like

Just to clarify before suggesting the exact approach -

If your data is repeating (list of records):

  • I’d suggest using a Repeating Dynamic Layout (grid-style)

If it’s a single set of fields (non-repeating):

  • Go with a Dynamic Layout with multiple columns (inline grid)
1 Like

no without Repeating layout how can we add 8 columns on the UI?

Do you have maybe some mockup of what you want to achieve along with business need? Then we would be able to better help.

the usual way is a Dynamic Layout with multiple columns for a single record or a Repeating Dynamic Layout if the data is repeating.

If it is just one set of fields, use a Dynamic Layout configured with multiple inline columns, for example 4 + 4 or 2 rows of 4 fields each. That gives you 8 values on screen without using a table, and it is usually more readable than forcing a non-tabular requirement into a fake grid.

If it is a list of records, use a Repeating Dynamic Layout and design each item as a card or structured block. RDL is positioned as the better option when you need more flexibility and richer formatting alternative to a table

2 Likes

No mock up as of now its only the requirement that says we need to show 8 columns on UI but without using repeating dynamic layout.

Thanks @RaviChandra for explaining in such a detailled manner,Here i would just like to ask one more thing why cant we use a table inside dynamic layout?Table is not a part of repeating dynamic layout right?

1 Like

In Traditional UI, table layout and repeating dynamic layout are different repeating container options.

  • Table layout is best when the data is naturally columnar and you want spreadsheet-like rows and columns
  • Repeating dynamic layout is better when each item needs more flexible formatting, cards, images, or embedded form fields

So if you place a table inside a ‘dynamic layout’, that is just a normal nested layout arrangement but it is not the same thing as using an RDL.

technically you can place a table section inside a dynamic layout container if the UI design requires it. But architecturally, that is still a table layout inside a parent layout, not an RDL.

1 Like

And just to add to @RaviChandra’s great responses - mixes the UX is not great either. Tables inside of RDL’s don’t look great AND they have different functionality AND responsiveness can become an issue.

If you need “a list within a list” then I would stick to a consistent pattern, either RDL or Tables.

1 Like