Re: DataGrid and multiple renderers
| From: | Mark Wiesemann | Date: | Thu, 28 Sep 2006 09:59:58 +0000 |
| Subject: | Re: DataGrid and multiple renderers | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25264@lists.php.net to get a copy of this message | ||
Chris Boget wrote:
> You have it paging working with the XML renderer? The XML renderer doesn't
> have the getPaging() method...
> How are you getting it to work?
Chris, 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().
Regards,
Mark