160
Views
11
Comments
Solved
[Data Grid Web] Data Grid - Row Height
Question
Forge component by OutSystems R&D
41
Published on 14 Dec 2020

Hello

I am using the data grid component. I want to add some padding to the rows, to spread them out a bit, however need to make the rows larger. There is a row height input parameter on the component, however this does not seem to work for me?

Is there something I am missing?


Thanks

Rank: #22389
Solution

I eventually got this working using the extended CSS property. Thanks guys

Champion
Rank: #106

Check if the css class is being overridden?

Rank: #12229

Did you set the Row Height on GridContainer's Parameter?

I think it is working on DataGrid ver2.1.1.

I set the ExtendedClass on GridColumn's Parameter, I can set the padding with CSS.

Rank: #205

HI,

In the Datagrid, you need to add a CSS style as an extended CSS and override the CSS column height which uses the DataGrid row. I hope this will help you.

Thank you,

Sudip 

Rank: #22389
Solution

I eventually got this working using the extended CSS property. Thanks guys

Champion
Rank: #106

Great! That's what Sudip suggested in his answer.

Rank: #9318

Can you show me how?

Rank: #9318

Thanks! Got it. How about making it auto height? Would that be possible?