for(var i=0, vs; (vs=this.layout.structure[i]); i++){ this.createView(vs.type || dojox._scopeName + ".GridView").setStructure(vs); } this.scroller.setContentNodes(this.views.getContentNodes());