Hi,

With the normal DataGrid object, we can perform filtering by doing

grid.dataProvider = someArrayColection
grid.dataProvider.filterFunction = myFilterFunction.

However, with the advanceddatagrid, if the do,
grid.dataProvider = someHierarchialData

afer this statement, the grid.dataProvider variable will still be
null, because internally in the setter of dataProvider,
grid.dataProvider is never set of someHierarchialData is of type
IHierarchialData, and therefore, I can't proceed with specifying the
filter function.

How is filtering supposed to be done for AdvancedDataGrid?

Just a little more background on what I'm doing.  I've successfully
built a extension to the normal DataGrid so that given the grid an
array of ColumnConfig object (each contains dataField, headerText, and
filterType), a data grid will be created with the specified columns,
and for each column, with its specified column-wide filtering built
in.  And now I'm trying to build a same grid that extends
AdvancedDataGrid because we need the ability to display hierachical
data.  If anyone has built something similar, please share your
thoughts.  Thanks in advance.

Regards,
Ban

Reply via email to