Hi all,
I have a problem with wingrid (version 9.1 Hotfix 1). In my application I can dynamically hide and visualize columns. I'm not using the column chooser, but a self programmed form. When I hide a column and then visualize it again, all new visualized columns are sized to a minimum width (it seems). This behavior wasn't in 8.3!
Regards
Hiding a column should not affect the size of any other column, unless maybe you are using the AutoFitStyle. I fyou are using AutoFitStyle, then hiding a column will cause the other columns to expand to fill the extra space and thus every column will get bigger. When you re-show the hidden column, it will now be proportionally smaller than the other columns (since they all got bigger).
But this behavior is the same in every version. If you are seeing some difference in behavior between v8.3 and v9.1, then it sounds like something is wrong. Can you duplicate the behavior in a small sample project?
Hi Mike,
instead of making a small project, I made a test using a version (from my subversion repository) before I made the to 9.3 upgrade. In this version (that uses 8,3) the resizing problem doesn't exists. So I couldn't believe, that the behavior is the same for 8.3 and 9.1 ...
I'm post some screenshots on another thread http://community.infragistics.com/forums/p/24842/91251.aspx#91251. This figures demonstrates what's going on.
No, I didn't use groups, since you didn't mention them. This is one reason why it's better for you to create a small sameple project demonstrating the issue, rather than for me to try to guess what's happening.
did you used only columns or groups and columns? In my application I'm using both?
If this worked in v8.3 and was broken in v9.1, then it's clearly a bug. But there's not much we can do unless we can duplicate the issue so we can see why it's happening and get it corrected.
I tried duplicating this using your settings here. I just put a button on fhe form that shows and hides columns, but I see no change in the size of any of the columns when I do this.
Hi,
my grid is simple on a form, with no panel as container.
regards