I added a summary row at the bottom of the groups in an SFDatagrid control. However the data in the summary row is not aligned with the data in the data columns. In the image below I added a large number to one of the cells. The number displays correctly in the data cell but it wraps in the summary row ( bottom row where the value is 100,000). You can also see that the numbers the summary row is not right justified like the data cells are.
Is there a configuration setting that will line up the summary data with the cell data?
Here is the code to create the summary totals
Dim captionSummaryRow As New GridSummaryRow()
captionSummaryRow.Name = "CaptionSummary"
captionSummaryRow.ShowSummaryInRow = False
captionSummaryRow.TitleColumnCount = NumMonths
captionSummaryRow.Title = "Total"
Dim summaryColumn1 As New GridSummaryColumn()
summaryColumn1.Name = Header & " Hrs"
summaryColumn1.Format = "{Sum}"
summaryColumn1.MappingName = Header & " Hrs"
summaryColumn1.SummaryType = SummaryType.DoubleAggregate
captionSummaryRow.SummaryColumns.Add(summaryColumn1)
MyDataGrid.GroupSummaryRows.Add(captionSummaryRow)