I have a multi-band grid which I want the expansion indicator to be hidden on all parent rows having children when the grid is printed.
I tried e.PrintLayout.Override.ExpansionIndicator = ShowExpansionIndicator.Never in the grid printlayout event but the indicator still printed.
Thanks,
Greg Tingle
Hi Greg,
I tested this out and it worked fine for me. What event are you doing this in? What version of the grid are you using? I tested with the latest v7.3 hot fix.
Hi Ravii,
Is this still about the original issue? That issue had to do with printing, but it sounds like you are talking about the on-screen grid.
Are you saying that the Expansion indicators are still displaying even though you set the property to Never? If so, then something in your code must be changing this setting after you set it.
Okay, that's because that property is not used for GroupByRows, only the regular data rows. For GroupByRows, you have to use the GroupByRowExpansionStyle property.