Hello,
We are using the parent child in the WinGrid, because we were not have any help on using the WinTree to achieve this. But it is fine if we do this:
We need the grouped row to have the text of the parent name and not the parent ID. For example:
PanretID=1 ParentName="Cat1"
I will tell the WinGrid to sort it by the PanretID, but I want it to display Cat1 and not the default text which it displays as "ParentID: (20) items".
thanks!
The more general solution to modifying the text that is shown in the GroupByRow is to use the GroupByRowDescriptionMask property. In your case, however, it looks like you want to show more text so you could handle the InitializeGroupByRow event and set e.Row.Description as you see fit.
-Matt