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
240
Auto Column Sizing Including Child Bands
posted

We have a grid where the bands are set up with AllowColSizing = AllowColSizing.Syncroized but when I perform auto resize on the column it only resizes to fit information contained in the top most band that is associated with that column header.  Is there a way to have it include all syncronized bands to that column header?

Parents
  • 469350
    Offline posted

    Hi Derek,

    There's no PerformAutoSize method that will do this. But what you could do is use CalculateAutoSize on the column(s) instead. Basically, you would loop through each band and call CalculateAutoSize on each column in the same position and then use the biggest width you got back.

Reply Children