Category / Section
How to prevent wrapping of text in Grid cells?
1 min read
By default, the text in the Grid cells get wrapped when there is not enough space in the browser or when the control width is too small. To prevent this the WrapText property should be set as false. Please refer the below code snippet which illustrates this:
C#
// To avoid text wrapping
this.GridGroupingControl1.Appearance.AnyCell.WrapText = false;
VB
'To avoid text wrapping
Me.GridGroupingControl1.Appearance.AnyCell.WrapText = False