Hi,
I am facing one problem in GridGrouping control.When i bind data to GGC, all the header row are sorted by default on the basis of GroupColumn.I don't want this default behaviour. Please help me.
Here is the code I am using to bind the GGC:
grdWbsTask.DataSource = ProjectScopeManager.ScopeSubTaskDT;
grdWbsTask.ChildGroupOptions.CaptionText = "{Category}";
grdWbsTask.TableDescriptor.GroupedColumns.Add("group");
GridColumnDescriptor subTaskName = new GridColumnDescriptor();
subTaskName.Name = "name";
subTaskName.MappingName = "name";
subTaskName.HeaderText = "Name";
grdWbsTask.TableDescriptor.Columns.Add(subTaskName);
GridColumnDescriptor constantHours = new GridColumnDescriptor();
constantHours.Name = "loe_constant_hours";
constantHours.MappingName = "loe_constant_hours";
constantHours.HeaderText = "LOE(Hours)";
grdWbsTask.TableDescriptor.Columns.Add(constantHours);
When i bind data to GGC ,all header rows are sorted by default on the basis of "group" column.
Thanks,
Awanish Kaul
GGCControl_3e96c1fb_bcc31efa.zip