Grid Grouping, group headers, footers


Person column:
Food column:
Person
Id
Person
Food
Date
Price
Location
Chef
Person : Aaron ( Count = 6, Max Price = 100 )
907AaronCheesecake4/5/200979RestaurantBruce Nolan
999AaronFrench toast7/23/201150RestaurantOmu Man
2255AaronCheesecake10/9/201330RestaurantFromage Sandwich
2407AaronCheesecake5/15/2010100Central PerkGaia Earth
2831AaronFrench toast10/9/201670TavernCasse Croute
2855AaronCheesecake1/3/202130DinerCheyenne Goldblum
 
 
 
max: 1/3/20213594 distinct locations6 chefs
Person : Adam ( Count = 4, Max Price = 30 )
2479AdamFrench toast3/7/201318Central PerkJoanna Stan
2707AdamSoup7/5/200923DinerJoanna Stan
2987AdamFrench toast5/3/201720TavernJoanna Stan
3199AdamFrench toast10/3/200930HomeCharles Duchemin
 
 
 
max: 5/3/2017914 distinct locations2 chefs
 
 
 
Total max: 1/3/20214505 distinct locations8 chefs

Grouping can be enabled or disabled for the whole grid by using the .Groupable(bool) and can be set for each column by setting the Column.Groupable

  • Column.Group - defines initial column grouped state
  • Column.GroupRank - group rank for this column
  • Column.GroupRemovable - (default is true) if set to false grouped column won't have the remove group button
  • .ShowGroupedColumn - default true, show grouped columns
  • GridModelBuilder.MakeHeader - defines a function for creating the GroupHeader
  • GridModelBuilder.MakeFooter - function for creating a group footer



Comments