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
60
Width of first column in UltraWinGrid
posted

Hi,

Somehow, the size of first column of my UltraWinGrid is set to some large value and I am not able to override it though any of the available functions or properties like Width, MaxWidth,  PerformAutoResizeColumns. Any pointers?

Thanks,

Amey

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi Amey,

    If it's the first column, then this is almost certainly because your grid has multiple bands and for each band, the rows get indented a little bit. Since the column widths are synchronized across bands by default, the first column's minimum width will increase by the indent of each child band.

    You can avoid this in a number of ways. For example, you could set AllowColSizing to any of the "Free" settings or any other setting that does not synchronize across bands. Or, if you have a recursive data source, you could set MaxBandDepth to some reasonable number of bands (instead of the default of 100).

Children
No Data