I've got a set of entities I'm bidning to the grid that are in a specific order in the collection.
When I do grouping however, they groups are ordered alphabetically.
For example:
Name = "Joe" Amount = 50
Name = "Jill" Amount = 75
Name = "Jill" Amount = 80
Name = "Deduction" Amount = "100"
name = "Deduction" Amount = "200"
When I bind it to the grid, they show up in order.
When I group by Name however, I see:
Deduction
100
200
Jill
75
80
Joe
50
It's important that I have them in the order they were in the collection. The entites in the colleciton could be given an "order number" if I have to do so, but I need to be sure i can sort the groups accordingly.
Do you have any suggestions for doing this?
Thanks.
When I do grouping however, they groups are ordered alphabetically.
For example:
Name = "Joe" Amount = 50
Name = "Jill" Amount = 75
Name = "Jill" Amount = 80
Name = "Deduction" Amount = "100"
name = "Deduction" Amount = "200"
When I bind it to the grid, they show up in order.
When I group by Name however, I see:
Deduction
100
200
Jill
75
80
Joe
50
It's important that I have them in the order they were in the collection. The entites in the colleciton could be given an "order number" if I have to do so, but I need to be sure i can sort the groups accordingly.
Do you have any suggestions for doing this?
Thanks.