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
3045
Column width differs between loading and shown state?
posted

I'm trying to track the original column widths during the load event of the form. I noticed that the width are actually slightly wider once shown. When I display the value of the column widths inside a button click event, they are different from what was reported during the load event. 

Any idea? I'm using AppStylist.

  • 469350
    Offline posted

    Hi,

    It's tough to guess since there are so many variables here. If you have not explicitly set the Width of each column, then the width is auto-calculated by the grid. So that could be happening here.

    It could also be that you are loading a Layout or a Preset into the grid and this is changing the column widths.

    Or, you could be calling the PerformAutoResize method or setting the AutoFitColumns property.