[dojo-contributors] Dojo.data + filter of nest structures
neonstalwart at gmail.com
Tue Mar 8 20:00:17 EST 2011
looking for some clarification - see inline
On Mar 8, 2011, at 4:43 PM, Karl Tiedt wrote:
> In our current project we came across a problem with Tree like
> structured data and filtering and wanted to start a thread to see if
> maybe its an oversight that needs correcting or maybe a buried set of
> flags that needs documenting.
> Use case: LazyTreeGrid (what we use) but could be applied to TreeGrid
> or Tree as well we figure (not able to test these at this time) +
> wanting to show proper grid structure to display the filtered results:
> Now if we say the above text is the name of each item, then filter on
> ThirdLevel-3 it *should* return:
> However, currently the entire childrens array is displayed... a
> possible solution would be to filter with deep=true, however this
> returned a flattened result set from what we saw
what is "the entire childrens" array in your example?
> So my questions:
> 1) Did we miss something when we went through the options/code that
> does handle this properly?
> 2) If #1 is no, should this be a function of the DataStore (returning
> the proper data structure) or should it be on the LazyTreeGrid/Tree to
> understand deep=true and build its structure correctly from there?
are you talking about dojo.store or dojo.data?
> -Karl Tiedt
> dojo-contributors mailing list
> dojo-contributors at mail.dojotoolkit.org
More information about the dojo-contributors