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
990
How to turn off tree lines between bands on the UltraGrid
posted

Hi,

I'm trying to remove the tree lines that appear between grid bands when they are expanded whilst keeping the +/- expansion indicator.

The UltraTreeView control has a ShowLines property but this does not appear to be available for the UltraGrid. I have tried using a DrawFilter to filter out requests to Infragistics.Win.UltraWinGrid.SiblingRowConnectorUIElement but this only removes the vertical part of the line. I can also filter out Infragistics.Win.UltraWinGrid.PreRowAreaUIElement but this has the undesirable effect of removing the expansion indicator, which I would like to keep.

Any help anyone can offer would be much appreciated.

Andy.

Parents
  • 12333
    Verified Answer
    posted

    Hi Andy, try this out: 

    this.customersUltraGrid.DisplayLayout.RowConnectorStyle = Infragistics.Win.UltraWinGrid.RowConnectorStyle.None;

Reply Children
No Data