Footeuz
20 Sep 2007, 12:10 AM
On my webpage and in an intranet app I build similary pages with and editor grid or grid using layouts.
Ex. :
http://300gp.ovh.net/~dedistor/blankass/concerts_passes.php
And I have the similar problem. In Internet Eplorer I have a big white box !!!
is it because of my layouts ?
I make it like that :
var reqview = Ext.DomHelper.append('req',
{cn:[{id:'req_grid1'},{id:'tb1container'}]}
);
...
var gridFoot = grid.getView().getFooterPanel(true);
// add a paging toolbar to the grid's footer
var paging = new Ext.PagingToolbar(gridFoot, ds, {
pageSize: 24,
displayInfo: true,
displayMsg: 'Pages : {0} - {1} of {2}',
emptyMsg: "Pas de resultats"
});
var layout = new Ext.BorderLayout("req", {
center: {
el:reqview,
titlebar: false,
margins:{left:5,right:5,bottom:5,top:5}
}
});
layout.beginUpdate();
layout.add('center', new Ext.GridPanel(grid, {title:"Societes", fitToFrame:true, toolbar: tb_head}));
layout.endUpdate();
layout.getRegion('center').showPanel('req_grid1');
And my html code :
<div class="x-box-blue cont-box-results" id="box_resultats">
<div class="x-box-tl"><div class="x-box-tr"><div class="x-box-tc"></div></div></div>
<div class="x-box-ml"><div class="x-box-mr"><div class="x-box-mc">
<div id="req">
</div>
</div></div></div>
<div class="x-box-bl"><div class="x-box-br"><div class="x-box-bc"></div></div></div>
</div>
Ex. :
http://300gp.ovh.net/~dedistor/blankass/concerts_passes.php
And I have the similar problem. In Internet Eplorer I have a big white box !!!
is it because of my layouts ?
I make it like that :
var reqview = Ext.DomHelper.append('req',
{cn:[{id:'req_grid1'},{id:'tb1container'}]}
);
...
var gridFoot = grid.getView().getFooterPanel(true);
// add a paging toolbar to the grid's footer
var paging = new Ext.PagingToolbar(gridFoot, ds, {
pageSize: 24,
displayInfo: true,
displayMsg: 'Pages : {0} - {1} of {2}',
emptyMsg: "Pas de resultats"
});
var layout = new Ext.BorderLayout("req", {
center: {
el:reqview,
titlebar: false,
margins:{left:5,right:5,bottom:5,top:5}
}
});
layout.beginUpdate();
layout.add('center', new Ext.GridPanel(grid, {title:"Societes", fitToFrame:true, toolbar: tb_head}));
layout.endUpdate();
layout.getRegion('center').showPanel('req_grid1');
And my html code :
<div class="x-box-blue cont-box-results" id="box_resultats">
<div class="x-box-tl"><div class="x-box-tr"><div class="x-box-tc"></div></div></div>
<div class="x-box-ml"><div class="x-box-mr"><div class="x-box-mc">
<div id="req">
</div>
</div></div></div>
<div class="x-box-bl"><div class="x-box-br"><div class="x-box-bc"></div></div></div>
</div>