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
300
Truncate GroupByRow Description to prevent double-height GroupByRow
posted

Is it possible to prevent the GroupByRow from becoming double-height when the description intersects with the summary?

I have the GroupBySummaryDisplayStyle set to SummaryCells.

this.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;

In the documentation it states that if the GroupByRowDescription intersects with the Summary, it will move the summaries down into a second row.

I am trying to prevent this by truncating the description so that it ends before the summary starts. I haven't been able to get this to work though.

I have tried various combinations of using the BeforeCreateChildElement and AfterCreateChildElement CreationFilter methods and resizing/repositioning the Rectangle for the GroupByRowUIElement and its children: GroupByRowDescriptionUIElement and SummaryFooterUIElement

Any ideas?

Thanks,
Stefan

  • 469350
    Suggested Answer
    Offline posted

    Hi Stefan,

    There's no way to do that. I recommend that you Submit a feature request to Infragistics and maybe we can add a third option the GroupByRowSummaryDisplayStyle property in the future.

    For now, the only way to ensure that there's no wrapping is to make sure the first column in your grid is wide enough to accommodate the entire summary description.