Home » Structures » Structures_DataGrid » Bug #5585
Add customize option when generate_columns = true
Details
| Request #5585 | Add customize option when generate_columns = true |
|---|---|
| Submitted | 2005-10-03 09:55 UTC |
| From | gerard dot bowe at jrc dot it |
| Assigned | olivierg |
| Status | Closed |
| Package | Structures_DataGrid |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2005-10-03 09:55 UTC] gerard dot bowe at jrc dot it
Description:
------------
Add customize cell option to bind() for use with
$options["generate_columns"] = true;
Similar to Column Formatter
[2005-10-04 23:17 UTC] olivierg at php dot net
Hi Gerard,
Please clarify your feature request. I'm not sure to understand what your mean.
[2005-10-05 09:20 UTC] gerard dot bowe at jrc dot it
I woulds like to be able to use a callback function when (eg. printLinks) to add a custom column when using bind(). At present it only outputs unformatted columns.
This is possible with the AddColumn function.
$column = new Structures_DataGrid_Column('Email', 'email', 'email', array('width' => '20%'), null, 'Printer::printEmail($label=Email)');
[2005-10-31 18:57 UTC] olivierg at php dot net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/Structures_DataGrid