PDA

View Full Version : dojo.collections like classes



alexbt
29 Jul 2007, 9:46 AM
Does EXTJS provide something similar to DOJO's collections? I tried to figure it out, but I didn't find. In my project I need to use such structures like Stack. I managed to get the desired functionality by means of arrays, but I'm not pleased with such a solution.
My R&D manager didn't want to use the DOJO package just for several use cases like the one described.

So may anybody show me the right way?

brian.moeskau
29 Jul 2007, 11:01 AM
Have you tried Ext.util.MixedCollection?

alexbt
29 Jul 2007, 11:33 AM
Thank you! This really helped me. What I miss in this class is iterator() function to iterate a collection. Treat it as a feature request. Anyway, thank you for help.

brian.moeskau
29 Jul 2007, 11:44 AM
http://extjs.com/deploy/ext/docs/output/Ext.util.MixedCollection.html#each