I have a WinGrid that is set up to use Outlook Group By on a single pre-selected column (Group By box is hidden)
After I bind I request an .ExpandAll(True) so that all nodes are expanded..
I want to also hide the [+]/[-] Expansion Indicators and can't figure out what property to set.
I've tried both of the following with no success....
UltraGrid1.DisplayLayout.Override.ExpansionIndicator = ShowExpansionIndicator.NeverUltraGrid1.DisplayLayout.Bands(0).Override.ExpansionIndicator = ShowExpansionIndicator.Never
What is the trick?
Hi,
The ExpansionIndicator property on the Override only applies to normal data rows. The property you want to use here is GroupByRowExpansionStyle. Setting this to Disabled will remove the expansion indicator from the GroupByRow, disabled collapsed the row via double-clicking, and also expand the row.
That worked, thanks.