Re: DataGrid and multiple renderers
| From: | Mark Wiesemann | Date: | Thu, 28 Sep 2006 10:43:58 +0000 |
| Subject: | Re: DataGrid and multiple renderers | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25267@lists.php.net to get a copy of this message | ||
Chris Boget wrote:
Can you please send me your code (or the relevant parts of it)? Either you're doing something wrong or it is a bug in Structures_DataGrid. Regards, MarkChris, the getPaging() method in the HTMLTable renderer is deprecated. Please use something like: $dg =& new ...; ... $dg->bind(...); ... $dg->render(DATAGRID_RENDER_XML); $dg->render(DATAGRID_RENDER_PAGER); in your code. The same holds for setRenderer(), fill() or getOutput().When I did that, the only thing that happened was that it outputted my dataset data a second time in html format. Here is what it looked like: [...]