dojo - How to make layout for dgrid with dijit/Toolbar? -


i place dgrid table widget, grid overlapped toolbar. how fix broken layout?

here current layout custom widget:

<div data-dojo-type="desktop/users/userswidget">     <div data-dojo-type="dijit/layout/layoutcontainer">         <div data-dojo-type="dijit/toolbar" data-dojo-props="region: 'top'">         <!-- here buttons, separators, etc -->         </div>          <div data-dojo-type="desktop/grids/usersgrid" data-dojo-props="region: 'center'"></div>     </div> </div> 

also, css:

html, body, .layout-container {     margin: 0;     padding: 0;     width: 100%;     height: 100%; } 

index.html

<body class="claro">     <div data-dojo-type="dijit/layout/layoutcontainer" class="layout-container" id="layoutcontainer">         <div data-dojo-type="desktop/menus/mainmenu" data-dojo-props="region: 'top'"></div>     </div> </body> 

my widget initialized when user select 1 of main menu items , added child of layoutcontainer widget.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -