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
Hi Peter,
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.
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'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?
will do
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?
I tried this out on a Windows 7 machine and it works just fine for me. I, of course, am using the latest service release.
Also.... I'm not sure this is the same issue. You seem to be saying you are getting this with the WinListView, but the original poster was talking about WinGrid. Maybe it's a similar issue in both controls, but either way I don't think we have been able to see the problem.
It is the same problem and the problem does occur with a WinGrid. The replication steps that I provided was not about the WinListView itself, but the Items Designer of that control. That designer seems like a WinGrid to me.
I could create a sample project with a WinGrid, but I don't know if htoo has already done so. I just used the WinListView designer as a very quick example of how to replicate it.
Thanks for investigating though.
Hello ,
I have tested the mentioned scenario with Infragistics 11.1 and it work as I expected. Please see attached video. Also I am attaching and the sample which I have used to test the issue and to capture the video.
Please let me know if I am missing something.
Hi
It is again happened in Infragistics2.Win.UltraWinGrid.v11.1, Version=11.1.20111.1003
Petr
We have tested this issue in the latest service and found that this issue has been resolved.
Please download the latest Service Release which is version 9.1.20091.2077.
Thank you Mike!
Hm, well, that makes a lot more sense.
I will forward this over to Infragistics Developer Support so they can write it up for developer review and we can get it fixed.