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
785
How is the column width getting calculated
posted

Hi,

I would like to know how the column width is determined if I do not set it by default, I do not call the PerformAutoResize method on the column and the AutoFitStyle is set to None.

Is the width at this point calculated based on the header only or on the content only or both?

Thanks.

Annie

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

     Hi Annie,

     I'm not sure, but I think the column just uses some arbitrary defaults based on the data type. I don't think it takes the header into account at all and I'm sure it does not account for the data. But I could be wrong. 

Children