I have a requirement where in I am using a Custom summary type of UltraGrid.
All the columns in the group by rows are aligned to right by default.
Now I want the text in a column to be left aligned. Is there a property which will help me achieve this.
I have tried the below code which did not work for me.
Please help
Thank You
Hi,
Thank you for your quick response.
I have re-posted the screen shot.
As you can see in the screen shot, I'm using the GroupByRow and I could see the cell highlighted. But the cells does not align as I want it to be.
Posting the entire code. Please rectify me If I'm wrong.
Dim band As UltraGridBand = Me.myulGrid.DisplayLayout.Bands(0)
Dim summary As SummarySettings = band.Summaries.Add("UNIT", SummaryType.Custom, _ New clsUltraGridSummaryCalculator(), band.Columns("Unit"), SummaryPosition.UseSummaryPositionColumn, Nothing) summary.SummaryDisplayArea = SummaryDisplayAreas.InGroupByRows summary.DisplayFormat = "{0:n2}" summary.Band.Override.CellAppearance.TextHAlign = HAlign.Left 'summary.Appearance.TextHAlign = HAlign.Left 'summary.SummaryPosition = SummaryPosition.Left
Thank You.
I'm not sure I understand what you are trying to do. It looks like you tried to post a screen shot here but the link is broken so I don't see the image.
If you are trying to align the text inside the summary then you appear to be doing it right - but this will only work if your summaries in the GroupByRow in displayed as cells and not just as raw text.