I have several nested bands, but want them to line up vertically. When I set indentation to 0, I can no longer see the expansion buttons. I think they're being covered by the rows. Is there a way to see them?
Thank you.
-Nick
Hi Nick,
I'm not sure I understand your question. If Indendation is 0, there's no place for an expansion indicator to display.So where do you want the expansion indicator to show up?
One thing you might be able to do is add an unbound column to the grid and use a CreationFilter to add an expansion indicator into that column. But I'm not really clear on what you want.
I'd like the expansion indicator to display to the left of the row, at the same indentation from the left of the grid as the expansion indicator in the parent band.
So you are setting Indentation to 0 on every band except the root band?
I don't see any easy way to do this. The expansion indicator element has to reside inside the RowUIElement and the only way to make the RowUIElement contain an area of space for the expansion indicator is with the indentation.
If you need to display a hierarchy of data as a flat list, then you might want to consider using UltraWinTree in OutlookExpress style instead of a grid. But the tree doesn't have filtering or summary functionality built-in, so it's a trade-off.