Hello
How do you set the properties of an ultragrid column so that this column will automatically fit the remaining grid width ?
Thanks
Hello ,
If you want to resize the last column of the UltraGrid to fit the available space you can use the following code :
ultraGrid1.DisplayLayout.AutoFitStyle = AutoFitStyle.ExtendLastColumn;
If you want ot size any other column what you could try is to setting the following property:
ultraGrid1.DisplayLayout.AutoFitStyle = AutoFitStyle.ResizeAllColumns;
After that what you should do is to fix the width of all columns but one by setting MinWidth, Width and MaxWidth to the same value on each column. So there will be only one sizeable column left.
Hope this helps.
Sincerely,
Danko Valkov
Developer Support Engineer
Infragistics, Inc.