How to set cell styles in DataGrid CVS?
| From: | dondo | Date: | Sun, 07 May 2006 15:54:13 +0000 |
| Subject: | How to set cell styles in DataGrid CVS? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-23980@lists.php.net to get a copy of this message | ||
Hi,
I'm currently using the latest CVS version of Structures::DataGrid and would like to assign CSS
classes to each cell of a table. Maybe the answer is "wait until the next release and stop
using CVS!", but maybe this is an easy question to answer. More specifically, I want the
columns to look something like: <td class="blah">
Previously, I used the $attribs variable passed into the constructor of Structures_DataGrid_Column:
function Structures_DataGrid_Column($columnName, $fieldName = null,
$orderBy = null, $attribs = array(),
$autoFillValue = null,
$formatter = null)
But this doesn't work with the CVS version. Is there a quick way for me to hack around this?
Appreciate the help,
Bryan
_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com