[Data Grid Reactive] how can i make the height of the header rows short
Question
Forge component by OutSystems R&D

hi 


my gird's header is too tall.

i want to make it short.

how can i do it?

Solution

Hi Jiro,

I believe you could use this method GridAPI.GridManager.GetActiveGrid().provider.columnHeaders.rows.defaultSize = size you want.

I must say that this has might affect the grid somehow and might cause some undesired issues.

Thank you,
Gabriel Lundgren

@Gabriel Lundgren  

very good

thank you very much

but the letters became upside like this:

to fix this issue, can i add the following style?


.wj-colheaders > .wj-row > .wj-cell, .wj-flexgrid .wj-colheaders .wj-header.wj-colgroup.wj-cell{

    padding-bottom: 8px;

}


do you have better solutions?

Hi,

you can change padding from upside. It will be adjusted.

Thanks,

Ajit.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.