borderContainer: { create: { module: 'dijit/layout/BorderContainer', args: [ { gutters: false, isLayoutContainer: true, liveSplitters: true, persist: false }, { $ref: 'id!borderContainer' } ] }
//, ready: 'startup'
},
imageGrid: { create: { module: 'modules/horizontalDgrid/module', args: { node: {$ref: 'id!all-images'}, store: {$ref: 'imageStore'}, field: 'id', label: 'description', query: {}, render: { module: 'modules/horizontalDgrid/renderers/Image' } } },
// ready: 'borderContainer.startup' },
borderContainer: { create: { module: 'dijit/layout/BorderContainer', args: [ { gutters: false, isLayoutContainer: true, liveSplitters: true, persist: false,
imageGrid: {$ref: 'imageGrid'}, // here to force bordercontainer after dgrid contentPaneTop: {$ref: 'contentPaneTop'}, // and after contentPaneTop contentPaneLeft: {$ref: 'contentPaneLeft'}, // and after contentPaneLeft contentPaneRight: {$ref: 'contentPaneRight'}, // and after contentPaneRight }, { $ref: 'id!borderContainer' } ] }, ready: 'startup'
},
<div id="borderContainer"> <div id="contentPaneTop"> <div id="imageGrid"></div> </div> <div id="contentPaneLeft"></div> <div id="contentPaneRight"></div></div>
borderContainer: { create: { module: 'dijit/layout/BorderContainer', args: [ { gutters: false, isLayoutContainer: true, liveSplitters: true, persist: false,
contentPaneTop: {$ref: 'contentPaneTop'}, // here to force bordercontainer after contentPaneTop
contentPaneLeft: {$ref: 'contentPaneLeft'}, // and after contentPaneLeft contentPaneRight: {$ref: 'contentPaneRight'}, // and after contentPaneRight }, { $ref: 'id!borderContainer' } ] }, ready: 'startup'
},