Intersoft WebGrid Documentation
How-to: Set WebGrid cell and header as multiline and word wrap
See Also Send comments on this topic.

Glossary Item Box

In WebGrid.NET, you can set WebGridCell and Header as MultiLine and Word Wrap.

In this topic, you will learn how to set MultiLine and Word Wrap.

To set MultiLine and Word Wrap

  1. Open WebGrid.NET Designer.
  2. In Advanced-WebGrid-Layout Settings, set HeaderStyle-Height to Empty.
  3. Set the Advanced-WebGrid-LayoutSettings-RowHeightDefault to -1px.
  4. Go to Advanced-RootTable, then set Columns-CompanyName-AllowMultiline to True.
  5. Then set CellStyle-Wrap to True.
  6. And set HeaderStyle-Wrap to True.
  7. Compile and Run the project.

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.