Hi
If I set the following:
ultraGrid.DisplayLayout.AutoFitStyle = AutoFitStyle.ResizeAllColumns;ultraGrid.DisplayLayout.Bands[0].Override.WrapHeaderText = DefaultableBoolean.True;
and then click on one header cell to sort, the column widths are changing and changing and changing. never stops again. It's difficult to explain, so watch the video I took (http://imis.pog.ch/idas.avi 4MB). If I only use one of the code lines above, all works fine.
Have you any solution for that problem?
I use NetAdvantage .NET 2007 Vol. 3 CLR 2.0
Best regards
Clay
Hi Schaad,
Seems to be very odd one.. some sort internal event is gettin triggered..
Try checking for the events associated.
Try setting the Multiline property and PerformAutoResizeColumns for the layout.. hope it helps you out
regards,
Arun
It looks like that these properties are not available in my version (2007) of the WinGrid
regards
Hi, I reproduced the problem and figured out, that the problem is the combination of the following lines (with an amount of rows that can be displayed without scrolling):
ultraGrid.DisplayLayout.AutoFitStyle = AutoFitStyle.ResizeAllColumns;ultraGrid.DisplayLayout.Bands[0].Override.FilterUIType = FilterUIType.FilterRow;ultraGrid.DisplayLayout.Bands[0].Override.WrapHeaderText = DefaultableBoolean.True;ultraGrid.DisplayLayout.Bands[0].Override.AllowAddNew = AllowAddNew.FixedAddRowOnBottom;
I sent the sample code to the developer support.
Sounds like a bug to me. You should Submit an incident to Infragistics Developer Support and include a small sample project which demonstrates the issue.