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
1110
Group by Text overlapping other symmary cells
posted

Hi

Attached SummaryCellsTextOverlap.zip has source code files and also has GroupTextOverlap.PNG for existing and expected results.

I am trying to do sum aggragation on ID and group by on Abbreviation colums. Right now in result, Abbreviation group by text is overlaping other summary cells (IDName and ID).

Is there a way to fit the group by text in the first cell?. Check GroupTextOverlap.PNG for expected result.

Can you modify the attached source with solution and post in this.

Thanks in advance.

 

SummaryCellsTextOverlap.zip
Parents
  • 7305
    posted

    Hello,

    The GroupBy header that contains the column value is not limited to the width of the column. What you can do is to implement IGroupByEvaluator interface and customize the group header any way you like.

    I have modified your project (attached). I added a class named "CustomGroupByEvaluator", and in XAML find my changes denoted as:

     

    <!-- CHANGES start:-->

    <!-- CHANGES end:-->

     

     

    I included some comments, and if you have any other questions feel free to ask.

    Sam

    WPF_XamDataGrid_GroupByEvaluator.zip
Reply Children