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
335
Parent Rows in a hierachical Grid
posted

Hello everyone, i got a problem with my ultragrid:

I have a dataset with datarelations bound to my ultragrid. It is possibly that entity A has a relation to C, and B has also a relation to C. So C can have different parents from different bands. In the Grid that means that C is shown multiple times (under A and also under B).

I have in every row a checkbox column. If I check it, all parent rows need to get checked too. There exists row.ParentRow, which returns the parent row under which I checked C. But that gives me only one row, but I need not only A or B, I need A and B. I realize that there is also row.ParentCollection, but if I understood correctly, that gives me only each row of the band C belongs to.

Is there a possibilty to get A and B?