Dynamic Filter Demo

This sample showcases the new Dynamic Filter feature of the Grid Grouping control. This filter implements a custom filter bar to be wired with the Grid Grouping control by replacing the default filter bar. The existing filter bar logic is extended to make the filter easy to use. This feature displays filtered results as you type each character.

Code to invoke the dynamic filter:

        GridDynamicFilter filter = new GridDynamicFilter();
        filter.WireGrid(gridGroupingControl1);

        //To remove dynamic filter
        filter.UnWireGrid(gridGroupingControl1);

Features

The appearence of the Filter is classified into two based on its leagcay styles. If the LegacyStyle is disabled then the Dynamic Filter will be appeared as a Context Menu and the FilterDropDown buttons will be painted with images. Else the existing appearance as ListBox and normal dropdown button will be maintained in the Grid

Below is the FilterBar with Grid's Legacy Style (Model.EnableLegacyStyle) disabled.

ExtendedFilterBar

  •  

    ExtendedFilterBar

    Filter With LegacyStyles

    ExtendedFilterBar