Intersoft WebGrid Documentation
How-to: Set one of the columns as AutoWidth while the others fit the WebGrid
See Also Send comments on this topic.

Glossary Item Box

WebGrid provides AutoFit and AutoWidth features for all columns in WebGrid.

In this topic, you will learn how to apply AutoWidth to one of the column  and AutoFit to other columns in WebGrid.

To set AutoWidth to one column and AutoFit to other columns in WebGrid

  1. Open WebGrid.NET Designer.
  2. In Advanced-WebGrid-Layout Settings, set AutoFitColumns to true.



  3. In Advanced-RootTable-Columns-Address, select Is Auto Width Column.



  4. Compile and run the WebForm. You will see something like following.

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.