Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1034
Having the items in the first level if they do not have a parent
posted

Hello,

I am doing paren/child in WinGrid and everything is fine.  But I want those items that do not have any parent to be in the first level and not under an "none" group. For example to be like this:

C1

C2

C3

- Group 1

       C4

       C5

       C6

- Group 2

       C7

       C8

 

 

So here the item C1..C3 do not have any parents, so they are in the first level.  Is it possible to achieve it with the WinGrid?

  • 469350
    Verified Answer
    Offline posted

    There's no way to do this with OutlookGroupBy. You cannot mix data rows and GroupByRows in the same collection.

    You could probably set up your data structure to present the data this way. You would have to crete a relational data source, like a DataSet and then have some dummy rows to act as the parent rows.