Filtering of Hierarchical Data in AdvancedDataGrid

Filtering of Hierarchical Data in AdvancedDataGrid is quite straight forward.

Assign the filter function to the ADG’s dataProvider and call refresh() –

// assign filter function to
//the AdvancedDataGrid's dataProvider
IHierarchicalCollectionView(
        adg.dataProvider).filterFunction =
                                 myFilterFunc;

// refresh the ADG's dataProvider
IHierarchicalCollectionView(
        adg.dataProvider).refresh();

Here is a Sample

And the Source

Advertisements