When I try to load data to the grid, the column always wrap the text which display the ... in the cell. I want to display all the text wihthout any wrapping even it is very long. Can you tell what kind of settings I can use?
I know the user can click to resize the column, but i'd rather the user doesn't need to do it.
Thanks,
Hi Zhenshi,
To achieve cell text wrapping, you have to set two ultraGrid properties:
UltraGrid.DisplayLayout.Override.RowSizing = Infragistics.Win.UltraWinGrid.RowSizing.AutoFreeUltraGrid.DisplayLayout.Override.CellMultiLine = Infragistics.Win.DefaultableBoolean.True
Regards,
Rico
You can size the column to it's contents using the PerformAutoResize method on the column. Be sure to use the right overload of this method to get the behavior you want.