Hi y'all, Yet another interesting one in ADG land....
I have a dataset being returned from my db which includes a groupName (string) and a displayOrder (int). My db query is setup to sort the data based on the displayOrder. So for example, I have 10 groups...named "Group 1, Group 2, etc" and each group has their display order set to their group number so Group 1 == displayOrder == 1, Group 2 == displayOrder == 2, Group 10 == displayOrder == 10, etc. I have validated that my web service is indeed passing the data back in the correct order.
Silly me, I thought that so long as I ordered my data before I passed it back to the flex app, it would just build the ADG from the dataset in the order in which it was received....WAY wrong on that one. Turns out the ADG is automatically sorting the data based on the field I am grouping against...in this case the group name. So, since it is a string, the table gets pop'd with Group 1, Group 10, Group 2, Group 3, etc. which completely defeats the purpose of trying to control the display order. I have looked thru all the properties for the ADG and the GroupingCollection/Grouping and haven't found a way to disable this little feature. And nothing online or in the documentation that I have been able to find.
So, does anyone know how to turn this off?? Best, Adrian

