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
1390
Resize column randomly adding/subtracting from other columns
posted

Hi,

I have a grid where the first 3 columns are fixed since they contain images. If I grab the column handle on any other column and resize the column, it seems to randomly add/subtract the width from another column, sometimes it's the column before the one I resized, sometimes it's the one after, etc. I would expect that if I resize the fourth column, for example, the columns after the resized column would be the only one(s) affected. I'm using NetAdvantage 10.2 build 2151. Is there some setting I need to set or some way to make the resizing more predictable?

thanks

Mario

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Mario,

    mpiccoli said:
    I have a grid where the first 3 columns are fixed since they contain images.

    What do you mean by "fixed"? It sounds like you mean that the columns width cannot be changed- but that's not really what fixed means. Fixed means that the column doesn't scroll. So I just want to make sure I understand.

    Either way, how exactly are you going about "fixing" the column. If you don't want the columns width to change, I recommend setting both the MinWidth and MaxWidth of the column to the same value, and also setting the Locked property on the column to true.

    Also... the only case where sizing one columns affects another column is if you have set the AutoFitStyle property. So what are you setting it to?

Children