Im evaluating the grid and trying to make an application in the style of master/detail with two grids. But i havent got any change on detail grid? whats happening?
Here’s my code:
For demo purpose only :: &1<script src='dhtmlxGrid/codebase/dhtmlxcommon.js'></script>
<script src='dhtmlxGrid/codebase/dhtmlxgrid.js'></script>
<script src='dhtmlxDataProcessor/codebase/dhtmlxdataprocessor.js'></script> <script src='dhtmlxDataProcessor/codebase/dhtmlxdataprocessor_debug.js'></script> <script src='dhtmlxGrid/codebase/ext/dhtmlxgrid_filter.js'></script>
<script src='dhtmlxGrid/codebase/ext/dhtmlxgrid_srnd.js'></script>
<script src='dhtmlxGrid/codebase/dhtmlxgridcell.js'></script>
<script src='dhtmlxConnector/codebase/connector.js'></script>
<div id="gridbox" width="350px" height="550px" style="background-color:white;overflow:hidden"></div>
<div id="gridbox2" width="350px" height="550px" style="background-color:white;overflow:hidden"></div>
And the server side code for details grid:
<?php require_once("config.php"); $res=mysql_connect($mysql_server,$mysql_user,$mysql_pass); mysql_select_db($mysql_db); require("dhtmlxConnector/codebase/grid_connector.php"); $grid = new GridConnector($res); $id = mysql_real_escape_string($_GET['id']); $grid->dynamic_loading(100); $grid->render_sql("SELECT * FROM internos WHERE interno = ‘”.$id.”‘","interno","interno,funcion"); ?>Im a newbie. please help.
Regards from buenos aires