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
865
Hide Row while keeping child bands visible?
posted

I have a grid structure as follows

+ Parent Band
|--- Child Band 1
|--- Child Band 2

What I *really* want is a grid that has 2 child bands at the root level. Seeing as this is impossible I've created a data structure that has 2 bands inside a single parent, and added a dummy row to my data structure to contain two IBindingList's, one for each Child band, both belonging to the same parent.

Display wise, what happens, of course, is that there is an empty row at the top of the grid then two child bands as expected. I've been trying ways of getting the parent row to be hidden, or essentially 0px high while keeping the child bands visible. If I set Row.Height = 0 (/1/2/...), it seems to have no effect (RowSize mode is set to Free). Hiding of course hides the child bands.

Is there any way that I an achieve the effect I'm after without having to resort to multiple grids?

Parents Reply Children
No Data