Re: DataGrid and addColumn()
| From: | Mark Wiesemann | Date: | Mon, 15 Aug 2005 16:37:37 +0000 |
| Subject: | Re: DataGrid and addColumn() | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20424@lists.php.net to get a copy of this message | ||
Markus Wolff wrote:
> However, I'd like for all grids to have at least one extra column ("Edit
> record"), which I wanted to add via addColumn() in the base DataObject.
> Right now, I don't seem to be able to do that, because once addColumn()
> is called, the auto-generation of all the other columns won't happen (in
> other words, I *only* get the edit column).
IMHO you have currently only two options:
- auto-generate the columns (without additional columns)
- add all columns manually
You could try to apply the patch from bug #3306 to your local
installation and see if that solves your issue.
Mark