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
250
Lock Column Width
posted

I am using Ultragrid 10.1.20101.1007

I have my grid anchored to a form and when the form resizes i want the columns in the grid to resize also. I set the AutoFitStyle = ResizeAllColumns and it works as expected. I have  two columns that I want to prevent resizing so as per other posts in this forum I set the max and min widths to the same value.

However, this is not preventing the column from resizing.

The only thing I can think of that might be causing the problem is that my rows have columns in two levels. I tried LockedWidth = True but that only prevent the user from resizing but when the grid resizes the column does also.

Any Ideas?

TIA,

Kim

 

 

 

 

Parents
  • 250
    Offline posted

    More to this. It appears the minwidth is working,  just not the maxwidth. I am not using groups in my rows.

Reply Children