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
25
How to apply the same group-by template to multiple columns?
posted

I am following this sample: http://www.infragistics.com/samples/wpf/grid/summary-row-in-groupby-headers

I have multiple columns that need the same group-by template applied.  The sample shows how to do it for one column.  Is it possible to do it for multiple columns without simply copying/pasting the template for each column?

Parents
No Data
Reply
  • 17475
    Verified Answer
    Offline posted

    Hello Igor,

    You can define the template as a resource and set its key property so you can apply it as static resource for the GroupByItemTemplate to as many columns as you want without duplicating the code.
    If you need additional assistance, do not hesitate to update the forum thread.

Children