Example of AutoWrap Column Cells in ASP.NET MVC Data Grid Control

This sample demonstrates the Grid component with the auto wrap column cell. In this sample, you can see that the main fields of invention column cell content exceeded the available width hence it has been wrapped into multiple lines.

DEMO
SOURCE

Auto wrap cell content can be enabled using AllowTextWrap property of the Grid. Setting this property will wrap cell text on multiple lines. This feature is useful to view the cell content when it exceeds the cell width.

Setting this property will wrap the text in both content cell and header cell.

In this demo, the AllowTextWrap property is enabled and you can also see that the Main fields of invention column whose content exceeded the cell width is wrapped into multiple lines.

Transform your ASP.NET MVC web apps today with Syncfusion ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab