Hi,
how can I create groups which are not sorted rather the groups have the order of the datasource.
My data source is a IList of Objects. The objects have the properties: value and cavity.
Now I want to group the values by cavity. But the order of cavities should have the same order like they appear in the list.
e.g.: value cavity
10 C
11 C
8 B
10 B
8 D
9 D
8 A
7 A
the group order in GridView should be the same order in the list. group one = C, group two = B, group three = D, group four = A
Thank you for your help.
how can I create groups which are not sorted rather the groups have the order of the datasource.
My data source is a IList of Objects. The objects have the properties: value and cavity.
Now I want to group the values by cavity. But the order of cavities should have the same order like they appear in the list.
e.g.: value cavity
10 C
11 C
8 B
10 B
8 D
9 D
8 A
7 A
the group order in GridView should be the same order in the list. group one = C, group two = B, group three = D, group four = A
Thank you for your help.