I have a multiband grid where a child band is bound to a bindinglist. The list can be empty. I set the ExpansionIndicator on the parent band to CheckOnDisplay so that the indicator only appears if there are any items in the list.
Is it possible to also automatically expand the parent band when the indicator appears?
Hi guys, I have the same exact problem but with me this solution doesn't work.
I tried also the expand all and it doesn't work too.
I have a simple binding list that I setup in the constructor of the form as the datasource of the grid and then I play with it and the grid is giving me the expected data but the rows are always not expanded.
I tried to hook the initialize grid row event and the initialize layout setting both grid.rows.expandall(true) or e.row.expanded = true but it doesn't work.
Any suggestions?
It's hard to give you any advice without more information. If expanding the row in the InitializeRow event doesn't work, then either there are no child rows when that event is firing, or else something is re-collapsing the row after you expanded it.
Those are the only two reasons I can think of why this would not work.