I need to be able to do word wrap in the grid header column. The textr i need to show is long whereas the columns below iwllonly display a checkbox, there are about 7 columns and to avoid scrolling I want to do wrod wrap of header.
Current text in the header lloks like this
Pre Payment stage| Column Number two| columns number three
I want to show it as
Pre Payment| Column Number| Column Number
Stage | two | Three
Disregard - found it:
UltraGrid1.DisplayLayout.Override.WrapHeaderText = Infragistics.Win.DefaultableBoolean.True
Bump. Auto word wrap?
Is there a way to enable automatic wordwrap?
I think all you need to do is put carraige returns into the column caption at the point you want it to wrap.
You might also need to set ColHeaderLines to 2.
If you are using the latest version of the grid, you may want to consider using rotated column header and display the text verically to gain even more space.