Filter Bar Demo

This demo illustrates how to add a filter bar to the grid.

Enabling the Filter

Filters can be enabled by the ShowFilterBar and AllowFilter properties. The AllowFilter can be set for those columns that require filter options.

    		// ShowFilterBar for the Main table.
    		this.gridGroupingControl1.TopLevelGroupOptions.ShowFilterBar = true;
 			
    		//Change the appearance of the Filter Row.			
    		this.gridGroupingControl1.TableDescriptor.Appearance.FilterBarCell.BackColor = Color.AliceBlue; 
 
    		//Enable the Filter for each Column. 
    		for(int i = 0 ; i< gridGroupingControl1.TableDescriptor.Columns.Count;i++ )
    		gridGroupingControl1.TableDescriptor.Columns[i].AllowFilter = true;  

FilterBar screenshot

Features