Hi,
I am using XamDataGrid with unbound fields, so I provide a separate list of columns with their bindingPath and other required properties. I am on version 14.2.20142.2094.
Is asymmetric grouping or conditional grouping possible? Please refer to the attached images.
Thank you
Hello nj,
Thank you for your post!
I have been looking into it and it seems that I am missing something from your scenario. Currently the when you group by two Fields of the XamDataGrid the groups would be nested into one another and the inner groups would be shifter as it is shown on the picture, that you have attached to your first post.
You can see the current grouping behavior of the XamDataGrid by taking a look at the "GroupBy Configuration" sample application from our samples browser. Also more information about the grouping in the XamDataGrid you can find on the following link from our documentation: http://help.infragistics.com/Help/Doc/WPF/2015.1/CLR4.0/html/xamDataGrid_Grouping.html.
Would you please provide me with more detailed information about the functionality you want to achieve? This way I would be able to further investigate this matter for you and provide you with more information about this.
Looking forward to hearing from you.
Sure.
What I am looking for is conditional grouping.
In the second screenshot, we first group by Country, which as expected, groups all rows by Country values.
But the second grouping is 'conditional grouping'. In the definition of Language field, I would add a condition "if Country == 'USA' do not group".
I am pretty sure this might not be supported out of the box but was wondering what would be the best way to achieve this customization. I tried IGroupByEvaluator without success.
After working on the functionality that you are trying to achieve and doing some research, the conditional grouping for the XamDataGrid has been determined to be a new product idea. You can suggest new Product Ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
Steps to create your idea:
1. Log into the Infragistics Product Ideas site at http://ideas.infragistics.com (creating a new login if needed).
2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
3. Add your product idea and be sure to be specific and provide as much detail as possible.
• Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
• [CASE: “Reference case [case number], FORUMS: “Include a link to this thread”] in your idea so product management will be able to look back at this case.
The benefits of submitting the product idea yourself include:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
Additional benefits of the Product Idea system include:
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
The product ideas site allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thank you for contacting Infragistics.