PDA

View Full Version : Iterate in the store data, if root is defined



nucles
14 Aug 2009, 2:03 AM
Hello Extjs members!

I have an JsonStore "store" where the root property is defined. How can I iterate in the data in this store?



store.each(function(record) { console.info(record) }, this));

This only works if the root property for the store is not defined.

Thank you.

King regards,
Nucles