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
UltraGridRow has property RowSpacingBefore and RowSpacingAfter, so spacing can be specified on row level. My issue is resolved.