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
331
Grand Summary with multiple FieldLayouts
posted

Ok,

When using multiple FieldLayouts a non-hierarchical list of objects one would expect the resulting visual structure to be similar to the use of multiple instances of the XamDataGrid control - showing different FieldLayouts as 'peers' in the same list.  It appears that in actuality, the first FieldLayout is being used as a "parent" of sorts as the column headers for this first fieldlayout are the only headers that appear without the expander to the left and the grand summary row is rendered below.  The problem here is that it creates the illusion that all rows from all bound objects are being considered in the grand summary, when in fact it is only the rows from the first FieldLayout.

I have defined a XamDataGrid with 3 FieldLayouts.  Each fieldLayout is being selected appropriately when the grid is bound to a heterogenous collection of objects although notice the position of the grand summary and the style of the header. 

1) Is there any way to render these objects as "peers"?  Have the column headers be treated the same?

2) Is there any way to not render the grand summary but keep the summaries for the individual groups?

  • 9694
    posted

    Hello,

    I apologize that this post was not answered sooner. We are making the effort to ensure all posts are addressed by an Infragistics expert.

    I was wondering, are you using the built-in GroupBy functionality in the XamDataGrid or WPF Group Descriptions or something else?

    For question #2, you can set the FieldSettings.SummaryDisplayAreas to a value that contains the DataRecordsOnly flag (e.g., Bottom | DataRecordsOnly) to prevent the summaries for the group-by records from being shown.

    Please let us know how we can help you further.

    Thanks!