I want to freeze multiple columns in the Data grid.

0
I want to fix multiple columns in the Data grid. How can I do this, as in the example below? Scroll horizontally⇒
asked
3 answers
0

Hi Yuya,

There is no standard functionality to do this unfortunately. What you can do however is put a list view and a data grid next to eachother. Make sure both use the same xPath to display data, so you can show the same objects in the same order in both widgets. In the listview you can then make a layoutgrid with 2 columns, to show the data you want to show.

In order to use this you will have to use custom styling so that the listview and the datagrid are exactly on the same height and have the same row heighth. Using CSS you can then make your datagrid scrollable, while you leave the listview in it's original state. Now you will have to fixed columns on the left and a scrollable datagrid on the right.

Hope this helps!

answered
0

Hi Yuya,

If your looking for only editability of each column there is a option on each column can make editable or can turn off too. 

You can apply simple CSS on each column to view in different color of each.

Hope this helps! 

answered
0

https://forum.mendix.com/link/space/studio-pro/questions/126019

answered