eg:<ig:TextColumn Key="1" HeaderText="1" />
<ig:TextColumn Key="2" HeaderText="2" />
<ig:TextColumn Key="3" HeaderText="3" />
if I write xamGrid.SetGroupByColumn("3");
xamGrid.SetGroupByColumn("1");
then Column3 became the first column,but I do not want to change the order of the columns.
Hello Liang,
Thank you for your post. I have been looking into it, but it seems like that I am missing something in your scenario, so if this is still an issue for you, could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.
Looking forward for your reply.
Please refer to your example in NetAdvantage 2013.1. IGGrid.Samples.Organization
private void SetDefaultGroupBy()
{
Column categoryColumn = this.dataGrid.Columns["Category"] as Column;
this.dataGrid.GroupBySettings.GroupByColumns.Add(categoryColumn);
Column unitpriceColumn = this.dataGrid.Columns["UnitPrice"] as Column;
this.dataGrid.GroupBySettings.GroupByColumns.Add(unitpriceColumn);
}
then Column["Category"] became the first column,but I do not want to change the order of the columns.
I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
XamGridGroupBy.zip is an Available sample.
I want to Merge Cells ,but I do not want to change the order of the columns.
eg: Category -- Unit Price
Sku Name Category Unit Price Units In Stock
After looking into this and doing some research, the functionality you want 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.
There are many benefits to submitting an product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- 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.
Steps to create your idea:
The Product Idea site puts you in the driver’s seat and 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.