Create table with unequal amount of columns

0
Hello all, I want to make a table that has 2 rows, but I want the first row to have 2 columns and the second row to have only 1. Currently I used a workaround by creating 2 separate tables and then putting no spacing between them so it looks like it's just one table but there is a slightly thicker line in between them. For context I'm using version 9.24.16. I'm sure there is an easy solution to this, but I haven't been using Mendix for a long time. Thanks!
asked
2 answers
0

Hi Cristian, 

Did u try using Layout grid ? it should be something like below. 

image.png

answered
0

Hi Cristian,

I am not able to understand your requirements properly,

But from what I can understand,

You can use a listview, with 

Layout-grids acting as the columns, I would suggest you change the layout-grids width to Auto-fit content 

image.png

This way, if your row has 2 different data, it will show 2 columns, and if it has only one, it will show one column, without affecting the width of the table/page.

Let me know, if you have any issues,

Hope it helps!

answered