Articles in this section
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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied