Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kite on Oct 22, 2007 02:31
open dhtmlx forum
use two grid in one page

I use dhtmlxTabbar and I set 3 tabs

on every tab i want to use 1 grid

<table>
<tr>
<td>
<div id="a_tabbar" style="width:1000; height:500;"/>
</td>
</tr>
</table>

tabbar.loadXML("tabs7a.xml");

tabs7a.xml's content is
<?xml version="1.0"?>
<tabbar hrefmode="ajax-html">
<row>
<tab id="b1" width='100px' href="styles_alt_colors.html" selected="1">SCBR 1</tab>
<tab id="b2" width='100px' href="alfa.html">SCBR 2</tab>
<tab id="b3" width='100px' href="styles_alt_colors2.html">SCBR 3</tab>
</row>
</tabbar>

on tab1 the grid can be show, but on other tab grid is not work!
Answer posted on Oct 22, 2007 07:52
Which version of dhtmlxGrid do you use ? ( version lesser than 1-4 can cause visual distortion when loaded in hidden container )
Also  please be sure that each loaded page has unique ID for grid and for grid container ( because page loaded by AJAX they mixed inside same page, and if IDs not unique - conflict may occur )