Hhere is a screenshot when i drag a column to group by Trans Type.Usually, when rows are grouped, the summary row will say something like "Trans Type : 3 items" or something like that. But i want to hide that default description because i have written my own ICustomSummaryCalculator for each row.I tried to use this, but it still leave the empty area in blue summary row (see screenshot). ultraGridSummary.DisplayLayout.Override.GroupByRowDescriptionMask = " ";There description (empty areas above the summary cells in the blue summary row)I tried to set GroupBySummaryDisplayStyle, it only provide option GroupBySummaryDisplayStyle.SummaryCells which show summary on the same level if it does not intersect with the summary row description. I also tried to use the InitializeGroupByRow event on the grid, and set the description to blank, but none works. Do you know of a way to get rid of that Description area so that it won't leave empty space? Thanx
I managed to solve it by adding a "blank" column:
UltraGridColumn blankColumn = _grid1.DisplayLayout.Bands[0].Columns[0];
// BLANK COLUMN ENSURES THAT SUMMARY ONLY EVER OCCUPIES ONE LINE
blankColumn.Header.VisiblePosition = 0;
// In order to resize any column (in this case 'Blank') we need to temporarily
// ensure it's visible before setting the width and restoring its visible property
blankColumn.Hidden = false;
blankColumn.Width = 0; // NOTE: it will set to the default minimum which appears to be 8
blankColumn.Hidden = true;
blankColumn.LockedWidth = true;
blankColumn.AllowGroupBy = DefaultableBoolean.False;
blankColumn.AllowRowFiltering = DefaultableBoolean.False;
blankColumn.AllowRowSummaries = AllowRowSummaries.False;
blankColumn.Header.Caption = string.Empty;