This question is locked. New answers and comments are not allowed.
I have a parent/child relationship in some data and I've flattened it out to remove the hierarchy but just contained enough data to maintain all the grouping / sorting I need. Basically I have the following hierarchy:
ParentTask - Name/Key/SortOrder
ChildTask - Name/Key/SortOrder
ChildTask - Name/Key/SortOrder
ParentTask - Name/Key/SortOrder
ChildTask - Name/Key/SortOrder
My ChildTask BO's have references to the parents so I am able to include the parentTask data keys in my bindable row. I would like to create grouped data to essentially maintain my hierarchy. However I can't see clearly how to set the sort order of my groupings so that they don't sort by the grouping columns.
For example my parent tasks are labelled:
Baseline Visit , Visit One, Visit Two, Visit Three, End of Study
I have matching SortOrder keys: 0,1,2,3,4
However when I predefine a RadGroupDesc I cannot see how to specify that the sorting should be done by Parent.SortOrder not by alphabetical on ParentTask.Name which skews the order to Baseline, End of Study, Visit One, Visit Three, Visit Two.
Thanks
jack
ParentTask - Name/Key/SortOrder
ChildTask - Name/Key/SortOrder
ChildTask - Name/Key/SortOrder
ParentTask - Name/Key/SortOrder
ChildTask - Name/Key/SortOrder
My ChildTask BO's have references to the parents so I am able to include the parentTask data keys in my bindable row. I would like to create grouped data to essentially maintain my hierarchy. However I can't see clearly how to set the sort order of my groupings so that they don't sort by the grouping columns.
For example my parent tasks are labelled:
Baseline Visit , Visit One, Visit Two, Visit Three, End of Study
I have matching SortOrder keys: 0,1,2,3,4
However when I predefine a RadGroupDesc I cannot see how to specify that the sorting should be done by Parent.SortOrder not by alphabetical on ParentTask.Name which skews the order to Baseline, End of Study, Visit One, Visit Three, Visit Two.
Thanks
jack