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
81
Customizing group fields in XamDataGrid
posted

When grouping XamDataGrid only show the visibile columns in the GroupArea. In some cases, you may want to have some hidden columns but still use the to group your rows, the only way I found working in this situation is to define the columns and set it Width to 0.

<igdp:Field Name="Folder">
   <igdp:Field.Settings>
        <igdp:FieldSettings AllowGroupBy="True" CellMaxWidth="0"/>
   </igdp:Field.Settings>
</igdp:Field>
situation is I tried to get t done in a more elegant way, But all of othem failed:
1. Trying to re-template GroupByArea.
2. Trying to bind AvailableFieldLabels to my own collection.