Re: DataGrid and multiple renderers

From: Date: Thu, 28 Sep 2006 12:14:06 +0000
Subject: Re: DataGrid and multiple renderers
References: 1 2 3 4 5 6 7 8 9  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25271@lists.php.net to get a copy of this message
Chris Boget wrote:
echo $datagird->getOutput();
That's not needed, it's even bogus because it is responsible for the output of the HTML table (which is the default renderer).
If you don't use getOutput(), what are you using to get the rendered datagrid?
The render() method does what the name indicates: It renders the datagrid. In other words: It builds _and_ outputs (e.g.) the XML representation or the paging string. Regards, Mark

« previous php.pear.general (#25271) next »