Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2005
Remove row spacing
posted

Hi,

I have UltraGrid that has multiple bands. Only top band have column headers fixed on top:

e.Layout.Bands[0].Override.HeaderPlacement = HeaderPlacement.FixedOnTop;
e.Layout.Bands[1].ColHeadersVisible = false;
e.Layout.Bands[2].ColHeadersVisible = false;
e.Layout.InterBandSpacing = 0;

I need to add spacing between rows of the top band but no spacing between a parent row and its child row. I am using property RowSpacingBefore and it worked as desired. However, there is an small issue and it is the spacing between above the first row. Is there a way to get rid of this unwanted spacing or there is a different way to achieve this?

I modified frmRowProperties form class in sample application CSharpSamplesExplorer. I attached a screen image and the unwanted spacing is marked in Red.

Any help is greatly appreciated!

Thanks,
Shaolin

Parents
No Data
Reply Children
No Data