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.
Hello thelmi,
I have been looking through your post and I attached a new solution about your issue. Please let me know if this helps you, if not, I will be glad if you send me some more details and specifications on this matter, so I would be able to investigate further your requirements.
I am looking forward to see hearing from you.
Hi,
I need a solution that uses XamDataGrid's GroupByArea. So basically the hidden fields should be visible in the GroupByArea. Your solution is using an external button for grouping.
Thank you for your post. I have been looking through your issue and I attached a sample project which shows how you can group by hidden field. Please look at the project and let me know if this is what you want to achieve or I have misunderstand your question.
I am looking forward to hearing from you.