Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
200
Hiding Expansion Indicators
posted

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.Never
UltraGrid1.DisplayLayout.Bands(0).Override.ExpansionIndicator = ShowExpansionIndicator.Never

What is the trick?

Parents
No Data
Reply
  • 469350
    Offline posted

    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.

Children