FlexGrid for WinForms
Filtering by Condition

To use the ConditionFilter, 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 ByCondition.

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 condition:


 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback