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
90
how to remove expansion column in ultragrid
posted

Hi,

using this "ultraGrid.DisplayLayout.Override.ExpansionIndicator = Infragistics.Win.UltraWinGrid.ShowExpansionIndicator.CheckOnDisplay" able to remove expansion indicator but that space is there so how can remove that please help me out .......... thanks in advance

  • 469350
    Offline posted

    If you just want to display a single band of flat data and you will never have any child rows, then another option would be to set: 

    grid.DislpayLayout.ViewStyle = ViewStyle.SingleBand;

  • 34690
    Offline posted

    Hello Gurumurthy,

    In order to remove the entire expansion indicator column in the UltraGrid, I would recommend setting the Indentation property on the underlying band to zero. You can do this using the following code, where “grid” is the UltraGrid:

    grid.DisplayLayout.Bands[0].Indentation = 0;

    Please let me know if you have any other questions or concerns on this matter.