Welcome to Kap Lab Store

Topic "DataFilteringTextInput filter hierarchical data provider"

2 Item(s)

per page

I have an hierarchical array collection for a flex tree that I would like to apply the DataFilteringTextInput filter control to. The data provider consists of a root object with three children. Each children has children of their own.

I have assigned the same array collection to the filter control, set the filteredProperties to "name" and null, but the tree is not being filtered.

Does the control support hierarchical data objects?

Posted : 25 May 2012 15:13

Thanks for stopping by!

Hierarchical collections are not supported out of the box.
Moreover, the filterFunction used internally is private, which makes supporting hierarchical collection even harder for a developer.

That being said, you can take the original source code, change the filterFunction to support hierarchical collections and recompile the lib.

On our side, I'll open a ticket to improve the component in order to support hierarchical collections but can't give you an ETA before next week.

Posted : 25 May 2012 17:30

2 Item(s)

per page