Re: Attributes in rows with Datagrid
| From: | Mark Wiesemann | Date: | Wed, 12 Jul 2006 17:50:14 +0000 |
| Subject: | Re: Attributes in rows with Datagrid | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24631@lists.php.net to get a copy of this message | ||
Hi,
Jose Manuel Zea wrote:
> This is what I´ve done:
[...]
Looks good.
> The only thing is that I need to save my unit containing the extended
> renderer in the same Renderer folder. How can I set the renderer
> saving my file anywhere?
Please try to include the file with your extended renderer class before
calling setRenderer(), you should be able to place it then whereever you
want.
> And second question, is this feature going to be included in the
> future?
Likely not -- I see the use for your approach here, but I think
generally this is not really needed. And if it is needed, one only needs
to write a simple class that extends the renderer class (like you did
it) -- this was our main approach for rewriting the rendering layer of
SDG: easy extendability for each renderer
Regards,
Mark