We’re using Dojo 1.6 bundled into Spring Roo for one of our projects. At some point I’ve decided that it would be nice to present our data in the form of a tree. Dijit components already bundle one of these.
Trying to work with ItemFileReadStore I started getting:
error loading root children:
TypeError: this._arrayOfTopLevelItems is undefined
(307 out of range 14)
Investigations have shown that ItemReadFileStore is pretty picky about JSON it can supports. And your valid JSON may just don’t work with it. And yes, the error message is rqeallyweird.