Javascript 如何在选项卡容器中添加多个php网格,每个选项卡一个phpgrid?

Javascript 如何在选项卡容器中添加多个php网格,每个选项卡一个phpgrid?,javascript,php,jquery,tabs,jqgrid,Javascript,Php,Jquery,Tabs,Jqgrid,我试着把jqgrids放到我的easyui标签上。单击一个选项卡时,应加载一个网格 下面是products.php的HTML代码片段: <?php //Start the Session if(!isset($_SESSION)) { session_start(); } // require_once("../includes/brand_name_gridview.php"); include("../includ

我试着把jqgrids放到我的easyui标签上。单击一个选项卡时,应加载一个网格

下面是products.php的HTML代码片段:

<?php
//Start the Session
      if(!isset($_SESSION)) 
      { 
          session_start(); 
      } 

 // require_once("../includes/brand_name_gridview.php");
  include("../includes/brand_name_gridview.php");

?>

<div id="tabs" class="easyui-tabs">

<!--Here goes other code snippet-->

        <div title="Brand Name" id="tabs-1" style="display:none;"><br />
           <div><form id="manageBrandNameForm" name="manageBrandNameForm" method="post" action="../includes/brandname_functions.php#tabs-1">
              <table width="470" border="0" class="productsForm" align="center" frame="box" cellpadding="5px" bgcolor="#F2F2F2">
                 <tr>
                    <td width="200" align="left">Brand Name</td>
                    <td width="216"><span id="sprytextfield1">
                       <label>
                       <input name="txtBrandName" type="text" id="txtBrandName" tabindex="1" size="30"/>
                       </label>
                       <span class="textfieldRequiredMsg">A value is required.</span></span>
                    </td>
                 </tr>
                 <tr>
                    <td width="500" align="left">Brand Name Description</td>
                    <td><span id="sprytextarea1">
                       <label>
                       <textarea name="txtBrandNameDescription" id="txtBrandNameDescription" cols="32" rows="3" tabindex="3" class="txtArea"></textarea></label>
                       <span class="textareaRequiredMsg">A value is required.</span></span>
                    </td>
                 </tr>
                 <tr><td><img src="../images/brand_name.png"/></td>
                    <td colspan="2" align="right">
                       <input type="submit" name="btnSaveBrand" id="btnSaveBrand" value="SAVE" />
                       <input type="reset" name="btnReset" id="btnReset" value="RESET"/>
                    </td>
                 </tr>
              </table><br />

           </form></div>
              <div id="productDataGridDiv">
           <?php 
           echo $out; 
           ?>  
        <br />
     </div>
     <!--end dataGridDiv-->
        </div>
        <!--end tabs-1-->

我可以为一个选项卡加载一个网格,但phpgrid.org不允许在免费版本中每页加载多个网格。请帮助我继续这项工作,为选项卡创建一个网格。

您指的是jqgrid的解决方案还是php网格?下面是一个可以尝试使用选项卡式datagrid的示例。它对我很有效


谢谢您的检查。我正在引用phpgrid(来自phpgrid.org)。免责声明:我为phpgrid.org工作phpgrid.org的免费版本支持在选项卡中加载多个网格。这使用JqueryUI选项卡是工作和()这个使用Bootstrap3选项卡,h
   $out = $g->render("list1");