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
220
Summary Section Too Small?
posted

Is there a way to expand the summary area? I've tried a number of things but it still seems to only allocate a small box in which to enter "Sum = 123456" so the text is always cutoff. I've created a custom summary before and it suffers from the same problem - so my hope is that I'm just doing it wrong. :-)

Infragistics v8.2

 

 

// Add a summary that totals the amount column
if (!band.Summaries.Exists(SUMMARY_KEY)){
     SummarySettings totalSummary = band.Summaries.Add( SummaryType.Sum,
                                                              amountColumn,
SummaryPosition

.Right);
     totalSummary.Key = SUMMARY_KEY;
}

  • 220
    posted

    I tried that and it works for this instance, thanks. Is there any way to allow it to have the entire row available to the summary?

  • 469350
    Verified Answer
    Offline posted

    The summary you are showing here is aligned to the right. This means it will take up 1/3 of the width of the band. You might be better off using a different overload of the Summaries.Add method so that the summary is aligned with a column. That way the summary will be the same width as the column.