Intersoft WebGrid Documentation
How-to: Create ColumnSet layout when IList object is bound to WebGrid
See Also Send comments on this topic.

Glossary Item Box

We can also create a ColumnSet when we used IList object bound to WebGrid.

In this topic, you will learn how to create ColumnSet when IList object bound to WebGrid.

To Create ColumnSet when IList object is bound to WebGrid :

  1. Bind WebGrid to IList DataSource.
  2. Right click on WebGrid instance to open WebGrid.Net Designer.
  3. Go to Advanced tab >> RootTable.
  4. In RowLayout Expandable panel choose ColumnSet and Click Design ColumnSet button.
  5. Set focus to the ColumnSet and set the Caption to Invoices.
  6. Set the ColumnSet's HeaderAlignment to Center.
  7. Click ColumnSet Designer and set like the picture below.

  8. Click OK >> Apply >> OK.
  9. Finally, the WebGrid will look like the following snapshot:

     

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.