Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by karuunakar on Jan 29, 2008 21:48
open dhtmlx forum
To populate the data in DhtmlXgrid , we are forced to create XML file . File creation decreasing performance. please tell me other way to increase the performance

Answer posted by Support on Jan 30, 2008 03:40
Actually you need not to create temporary file you can load data directly from server side script
    grid.loadXML("some.php") //or some.jsp, some.aspx - any server side script can be used

in some.php

<?php
    header("Content-type:text/xml");
    echo "<?xml version='1.0' ?>";
    echo "<rows>";

    //connect to DB
    //fetch necessary data
    //output it as XML

    echo "<row....