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
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.
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.