Data Grid2 Attribut names

0
Hello Mendix community, I've created a list on Data Grid 2 with 16 attributes. I'm able to add elements and view them clearly, but I'm having trouble seeing the column names properly. I've attempted to resolve this issue, but haven't had success.  If anyone has ideas or suggestions, I would greatly appreciate your input.
asked
2 answers
0

Hi Berkay,

16 attributes is a lot. What you could do with DataGrid2 is to enable hiding in the grid:

image.png

Then in column settings you could hide the column by default.

image.png

Then you could show only the important columns by default. If needed the user can make them visible by themself:

image.png

 

Other solutions is to lower the fontsize or make the Caption aligned vertically.

Or transform the captions to -90degrees:

Add this to the styling of the .column-headers:

-webkit-transform: rotate(-90deg);

 

Good luck!

.

Martijn

answered
0

Hi Berkay,

 

You could try this :

image.png

 

if this does not help you, try this

 

image.png

 

with this config the User can set up it himselft

and with image.png

you can give him the possibility to save his config. When he comes back to the Page, the Column will have the same width.

answered