FlexGrid for WinForms
Filtering by Value
Show AllShow All
Hide AllHide All

To use the ValueFilter, follow these steps:

  1. Select the grid and click the smart tag to open the C1FlexGrid Tasks menu.
  2. Select the Enable Column Filtering check box.
  3. Click the Designer link. The C1FlexGrid Column Editor appears.
  4. Click the drop-down arrow next to the AllowFiltering property and select ByValue.

In Code

Add the following code to the Form_Load event:

To write code in Visual Basic

To write code in C#

This topic illustrates the following:

In this example, the second column is sorted by value:


 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback