Re: How to set cell styles in DataGrid CVS?
| From: | Mark Wiesemann | Date: | Sun, 07 May 2006 21:50:08 +0000 |
| Subject: | Re: How to set cell styles in DataGrid CVS? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23986@lists.php.net to get a copy of this message | ||
Hi Bryan,
thanks for posting your code which allowed me to find the solution.
The problem was that the rendering class did not take into account that
people are encouraged to extend the HTMLTable renderer (of course, also
the other renderers) while merging the column attributes (from the
column object and from the options array). Therefore, your column
attributes got lost.
This is now fixed in CVS. You just need to update DataGrid/Renderer.php.
Regards,
Mark