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
900
Grouped row header has extra spaces
posted

Hi,

I'm using Ultrawingrid and grouped one of the columns. In the attached screenshot, you can see that some products have extra spaces so the alignment is off. For example, Auxiliary Phys. Header and Commercial Automobile have extra spaces. Is there a way to fix that?

Thank you,

Trent

Parents
  • 23930
    Offline posted

    Hi Trent,

    Thank you for posting in our forums.

    I tried to reproduce your issue and everything is working fine on my side – the group by row text is properly aligned. What settings have you set on the grid? Do you use the default font for the group by rows? You can try using GDI for rendering the text instead of GDI+. This might be able to resolve your issue. You can set it by using the following line:

                ultraGrid1.TextRenderingMode = Infragistics.Win.TextRenderingMode.GDI;

    If that doesn’t help please provide me with a sample that reproduces this issue, so I can investigate it further. I have attached my test sample and you can use it as a starting point.

    I am looking forward to hearing from you.

    WG_GroupByRowTextAlignment.zip
Reply Children
No Data