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.
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)
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
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?
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.
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.
