PDA

View Full Version : two grids in one page



qintnt
5 Dec 2006, 7:35 AM
I used two grids in one dialog and here is the code.

<div id="hello-dlg" style="visibility:hidden;position:absolute;top:0px;">
<div class="ydlg-hd">hello</div>
<div class="ydlg-bd">
<div class="ydlg-tab" title="IBOSS">
<div id="local-grid" class="ygrid-vista" style="border: 1px solid #cccccc; overflow: hidden; width: 260px; height: 250px;margin: 8px 2px 2px 4px;float:left;"></div>
<div id="remote-grid" class="ygrid-vista" style="border: 1px solid #cccccc; overflow: hidden; width: 315px; height: 250px;margin: 8px 2px 2px 2px;float:left;"></div>
</div>
</div>
</div>

when I'm trying to resize the column in one grid,I find the other grid is influenced.It is also resizing.
How can I solve this problem?thanks for reply.

tryanDLS
5 Dec 2006, 7:40 AM
Do a search on multiple grids - this has been discussed many times.