Changing the size of a row

0
Hello All,   I want to make the rows thinner than what they are. I assume I need to make a custom class. Does anyone know what I need to do please?      Thanks in advance   Jess
asked
2 answers
0

Hi Jessica,

 

if you are using a Datagrid2 :

 - check the styling config of your Datagrid and toggle "Compact" to true.

   this will add a Mendix class to your rows which makes the rows thinner.

 

Otherwise :

 - yes, you will need to create a Css class as descriped here.

 

Hope this helps,

Best Regards

answered
0

If you are using data grid 2, Follow below steps;

1. double click each cell, navigate to appearance tab

2. Add a class name to Dynamic cell class. for example add as 'cell-height'

3. Now add this class to your UI Resource module/styling/web/core/custom_styles.scss.

example class:

.cell-height{

height:20px;

}

 

Please note that this class name you should put into all cells of datagrid

answered