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
305
Setting GroupByRow.Height Doesn't Work?
posted

Does the UltraGrid allow you to set the GroupByRow.Height property via code?  I have ONE GroupByRow that I'd like to be as small as possible.

I have set the Override.RowSizing to Free and set the RowSizingArea to EntireRow for both the DisplayLayout and the Band.  I have also changed the MinRowHeight from -1 to 2 in both Override areas.

It allows me to set ugrd.Rows(1).Rows(0).Height = 2 just fine, however, I cannot set ugrd.Rows(2).Height = 2.  It ignores it.

Any help would be appreciated.

Parents
No Data
Reply
  • 18495
    Suggested Answer
    posted

    Hello Kyle,

    You can set the Height property of a group-by row in code, but the way the property is currently implemented, there are a number of factors that control the actual minimum height of the row.  You might be able to make the height of the row smaller by changing the font size (UltraGridRow.Appearance.FontData.SizeInPoints).

Children
No Data