http://www.telerik.com/help/winforms/gridview-grouping-group-aggregates.html
GroupDescriptor descriptor = new GroupDescriptor();
descriptor.GroupNames.Add("ShipName", ListSortDirection.Ascending);
descriptor.Aggregates.Add("Count(ShipName)");
descriptor.Aggregates.Add("Max(Freight)");
descriptor.Aggregates.Add("Avg(Freight)");
descriptor.Format = "The ship {1} has {2} item(s) with maximum freight {3} and avarage freight of {4:c2} per ship.";
this.radGridView1.GroupDescriptors.Add(descriptor);
How to do sort by Max (descriptor.Aggregates.Add("Max(Freight)");)
How to do ability to let Antonio Moreno Taqueria(max 84.84) is first ,Alfreds Futterkiste (max 69.53) is second ,Ana Trujillo Emparedados y helados (max 43.9) is third.
GroupDescriptor descriptor = new GroupDescriptor();
descriptor.GroupNames.Add("ShipName", ListSortDirection.Ascending);
descriptor.Aggregates.Add("Count(ShipName)");
descriptor.Aggregates.Add("Max(Freight)");
descriptor.Aggregates.Add("Avg(Freight)");
descriptor.Format = "The ship {1} has {2} item(s) with maximum freight {3} and avarage freight of {4:c2} per ship.";
this.radGridView1.GroupDescriptors.Add(descriptor);
How to do sort by Max (descriptor.Aggregates.Add("Max(Freight)");)
How to do ability to let Antonio Moreno Taqueria(max 84.84) is first ,Alfreds Futterkiste (max 69.53) is second ,Ana Trujillo Emparedados y helados (max 43.9) is third.