Intersoft WebGrid Documentation
How-to: Perform sorting data and apply multiple sorting in WebGrid
See Also Send comments on this topic.

Glossary Item Box

WebGrid provides a sorting feature which is very useful to sort data in ascending or descending behavior.

In this topic, you will learn the basic thing on how to apply sorting feature in WebGrid.

To sort data in WebGrid

  1. Open WebGrid.NET Designer.
  2. In Layout Settings, set AllowSorting to Yes.
  3. Click OK to apply the changes.
  4. Run the project.
  5. Click on any header columns to apply sorting data.

To apply multiple sorting data in WebGrid

  1. Open WebGrid.NET Designer.
  2. In Layout Settings, set HeaderClickAction to SortMulti.
  3. Click OK to apply the changes.
  4. Run the project.
  5. Click on any header columns and press SHIFT key to apply multiple sorting data.

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.