[Data Grid] Data Grid - Row Height

Forge Component
(25)
Published on 31 Jul (3 weeks ago) by OutSystems R&D
25 votes
Published on 31 Jul (3 weeks ago) by OutSystems R&D

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

Check if the css class is being overridden?

Swatantra Kumar wrote:

Check if the css class is being overridden?

I can't see it anywhere in the css. Doesn't appear to be being overwritten


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.

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 

Solution

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

Solution

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

Swatantra Kumar wrote:

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


Thank You @Swatantra Kumar