Column view instead of list view?

0
Hi, Is there any way to list data in columns instead of rows in a list view?   kr Thomas
asked
3 answers
1

Hi Thomas, You can have a Table or Layout grid widget inside a list view by selecting the column count displayed to you and that can contain your attributes in the case of you want to display attributes horizontally. 

If you need an objects list to display in a horizontal manner better you can choose Template grid widget. But In list view we can achieve this by giving following CSS style.

 .mx-list {

 width: 800px;

 display: flex;

 overflow-x: scroll; } 

Thanks,

Vignesh Kannan

answered
0

Hi Thomas,
you can achieve this by using list view+table+flex and list view+table+grid where Grid is an extension of flex to two dimensions 
note: grid is a fairly recent addition to CSS and not all grid concepts are supported by all browser

https://cssflexandgrid-sandbox.mxapps.io/p/grid

cheers

Narendran J

 

 

 

 

 

 

answered
0

Have a look here: https://forum.mendix.com/link/questions/87403

What usually works for me is adding the bootstrap classes like lv-col-md-4 to the listview. In this example the list would have 4 horizontal items. 

 

answered