Intersoft WebGrid Documentation
How-to: Perform filtering data and hide Filter Bar in WebGrid
See Also Send comments on this topic.

Glossary Item Box

WebGrid provides a filtering feature which is very powerful to filter data based on several filter types, such as LIKE, BETWEEN, GREATER THAN and many others.

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

To filter data in WebGrid

  1. Open WebGrid.NET Designer.
  2. In Layout Settings, set AllowFilter to Yes.
  3. Click OK to apply the changes.
  4. Run the project. 
  5. Select the Filter Row and type the data you want to filter.
  6. Click the blue icon to display the filter types.
  7. Select one of the filter types and click Apply All Filters.
  8. Finally, WebGrid will automatically filter the data.

To hide Filter Bar in WebGrid

  1. Open WebGrid.NET Designer.
  2. In Layout Settings, set FilterBarVisible to True.
  3. Click OK to apply the changes.
  4. Run the project and WebGrid will hide the Filter Bar when it is in Filter mode.

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.