[dojo-contributors] Dojo.data + filter of nest structures
neonstalwart at gmail.com
Tue Mar 8 20:32:39 EST 2011
ok - i think dojo.store accounts for this by allowing you to provide a
function for filtering.
On Mar 8, 2011, at 8:10 PM, Karl Tiedt wrote:
> -Karl Tiedt
>>> Now if we say the above text is the name of each item, then filter
>>> 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?
> Top example has 3 children in lowest level, thats the entire children
> array for its parent... bottom example has properly filtered childrens
> array showing only the matching child + parents to display it properly
>> are you talking about dojo.store or dojo.data?
> Currently these are dojox.data.AndOrReadStore and ItemFileReadStore
> that we have looked at (due to project usage) - project is based on
> Dojo 1.5 atm but updating to 1.6 soon as approval comes down
> dojo-contributors mailing list
> dojo-contributors at mail.dojotoolkit.org
More information about the dojo-contributors