Categories | Question details Back To List | ||||||||
grid loading from php. Incorrect XML Hi, I keep getting incorrect xml when loading the grid. it loads fine if the file is a .xml file. but not if it's a simple php file like below. rfrankingGrid.loadXML("rankings.php"); <?php header("Content-type:text/xml"); print("<?xml version=\"1.0\"?>"); print("<rows>"); print("<row id='0'>"); print("<cell>"); print("1"); print("</cell>"); print("<cell>"); print("2"); print("</cell>"); print("<cell>"); print("3"); print("</cell>"); print("<cell>"); print("4"); print("</cell>"); print("<cell>"); print("5"); print("</cell>"); print("</row>"); print("</rows>"); ?> Answer posted by Support on Jul 14, 2008 03:36 The same code works correctly in case of local test ( attached ) Please try to use debug version of dhtmlxcommon and check that server side script doesn't generate any errors in your case. http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Common_Problems_in_Grid.html#grid_art_comprob Attachments (1)
|