Hi,
We are using the 2009 vol 1 control set. To my mind the wingrid is not correctly resizing. The grid has the autofitstyle property set to extendlastcolumn.
When I resize a column to increase the width of the column by moving the column border to the left after releasing the mouse button the column resizes so that only the first letter of the column title appears.
If I double click on the column border the column resizes to show all column data.
Is this behaviour correct? is there some other property to be set.
Thanks
Peter
Has this issue been fixed yet? I couldn't find it in the knowledge base.However I have the same problem for some time now. I haven't made a sample project myself, but I found an easy way to replicate it:Open the Items property on an UltraListView, and try to resize the column "Key" or "Main column" by dragging them to the right. While dragging, the vertical line jumps to the left of the grid when I exceed the current width. After release, the column resizes to a very small width. I'm using version 9.1.20091.1000.Now comes the very strange part: A colleague tried to the same on his computer, but the problem didn't occur there. We have the same Visual Studio and Infragistics version. The only difference is that I run Windows 7 (although it also happened on Vista), and he runs XP. So the problem might be OS related?
will do
Hi Peter,
I've never seen that before. I just tested it now and it works fine for me. But if that's happening, it's either caused by something in your code, or else it's a bug in the grid.
Can you duplicate this in a small sample project and post it here so we can take a look?
Hi Mike,
To start increasing the size of the column I click on the border of the column header, drag the mouse to the right and then release the mouse button, the column size automatically reduces to the single character. The grid is styled.
I'm not sure I understand what you mean. If you click on the right edge of a column header and move the mouse and then release, the right edge of the column will end up wherever you put it. It doesn't autosize anything at that point - you are explicitly setting the column to the size you chose. So if only one letter of the header is visible, it must be because that's where you released the mouse.