299
Views
5
Comments
Solved
is it possible to create a table inside a table?

Im trying to create a table where you can display orders but if you click on it you get a display with more detail instead of just the name etc. I was wondering if its possible to do this with pure outsystems? 

2022-02-25 19-42-59
Srinivas K Singadi
Solution

HI jorginiho wijnhard

Yes, it is possible to create a table inside a table in OutSystems.

One way to achieve this is to use the Table Records widget. You can drag and drop a Table Records widget onto a screen, and then drag and drop another Table Records widget inside the first one. This will create a nested table structure.

To populate the nested table with data, you can set the Source Record List property of the inner Table Records widget to an expression that returns a list of records that correspond to the rows of the inner table.

You can also customize the layout and appearance of the nested table using the available properties of the Table Records widget.

It is worth noting that nesting tables can have a significant impact on performance, especially if the data sets are large. Therefore, it is important to design your screens and queries carefully to avoid excessive nested table structures.

2024-04-15 01-01-11
Fatemeh Safinia

Hello Srinivas,

I was struggling with creating nested tables and I found your comment as a solution.
However, I cannot drag and drop a new Table widget inside my first Table Widget as shown in the screenshot.

Could you please help with this?

Thank you in advance


2021-03-05 13-56-11
Ricardo Pereira
 
MVP

Hi,

Yes, this is possible. You can do that in various ways, like show the info in a popup, in a sidebar, in a detail screen, in many solution.

The way you ask, it seems you need to go trough the guided path. I advise you to go through this:

https://www.outsystems.com/training/paths/18/becoming-a-reactive-web-developer/


Hope this can help you.


Best regards,

Ricardo Pereira

2018-10-29 08-31-03
João Marques
 
MVP

Hi Jorginiho,


Well, you can by having your second list as a block.

You can take a look at this post with the same question. Although it is for Traditional, the same principle should be applied, when the inner list is displayed on the parent screen by using a block.


Kind Regards,
João

2022-02-25 19-42-59
Srinivas K Singadi
Solution

HI jorginiho wijnhard

Yes, it is possible to create a table inside a table in OutSystems.

One way to achieve this is to use the Table Records widget. You can drag and drop a Table Records widget onto a screen, and then drag and drop another Table Records widget inside the first one. This will create a nested table structure.

To populate the nested table with data, you can set the Source Record List property of the inner Table Records widget to an expression that returns a list of records that correspond to the rows of the inner table.

You can also customize the layout and appearance of the nested table using the available properties of the Table Records widget.

It is worth noting that nesting tables can have a significant impact on performance, especially if the data sets are large. Therefore, it is important to design your screens and queries carefully to avoid excessive nested table structures.

2024-04-15 01-01-11
Fatemeh Safinia

Hello Srinivas,

I was struggling with creating nested tables and I found your comment as a solution.
However, I cannot drag and drop a new Table widget inside my first Table Widget as shown in the screenshot.

Could you please help with this?

Thank you in advance


UserImage.jpg
jorginiho wijnhard

Thank you this has worked for me !

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.