Re: Datagrid rendering - XML and XLS export
| From: | Andrew Nagy | Date: | Fri, 25 Feb 2005 19:50:21 +0000 |
| Subject: | Re: Datagrid rendering - XML and XLS export | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17685@lists.php.net to get a copy of this message | ||
PHPDiscuss - PHP Newsgroups and mailing lists wrote:
Andrew Nagy wrote:Can you confirm that your $rendu variable is set correctly? Can you also try using the actual values of the constants instead of the constants themselves. DATAGRID_RENDER_TABLE = 'HTMLTable' DATAGRID_RENDER_XML = 'XML' DATAGRID_RENDER_XLS = 'XLS' AndrewPHPDiscuss - PHP Newsgroups and mailing lists wrote:Well, i want XML or XLS from basic datas of my datagrid but i get HTML from all my current page (not only the HTML datagrid).1. Make sure your $rendu variable has the correct value. 2. Make sure you have XML_Util as well as Excel_Spreadsheet_Writer installed so that you can utilize those 2 renderersWhen you try to output in XML or Excel, do you get blank HTML pages, or are they the same as the HTML output page?AndrewWell, they are the same as the html output page ? I use DO to bind the datagrid and I'm on a Windows platform (yes i know :), mysql 4 apache 2 and php 4 up to date. Packages XML Util and Excel_SW are installed and up to date too. JP