Hi, i have a ultragrid (V 12.2) on my form. i have the dock property set to fill.i have 10 columns with different sizes on the grid. but always the grid resizes my columns and not let the columns his start size and show a horizontal scrollbar.what have i to do ?
best regards martin
Just FYI - None is the default. So you must be setting this property to something other than None somewhere else in your code. You might want to remove that, instead of setting the property again.
Now it works. It was the missing property
.DisplayLayout.AutoFitStyle =
AutoFitStyle.None
thanks
If the columns are automatically resizing to fit within the available space, you must have set the AutoFitStyle property.
Hi Martin,
I will be happy to assist you with your inquiry.
By default, the UltraGrid shouldn't change the size of its columns. The attached sample shows an UltraGrid with ten columns and its Dock property set to Fill. This sample doesn't exhibit the behavior you've described. Is there any way you can attach an isolated sample that demonstrats the behavior you've described? This will allow me to review your code and help isolate what is causing this unwanted behavior.
To perform this test I reference NetAdvantage 12.2.20122.2006.
Looking forward to hearing from you.