Re: Re: Datagrid and sorting/paging II
| From: | Mark Wiesemann | Date: | Sat, 07 Jun 2008 20:04:49 +0000 |
| Subject: | Re: Re: Datagrid and sorting/paging II | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28985@lists.php.net to get a copy of this message | ||
Bernhard Harb wrote:
But believe me, I have been behind the docs so many hours - I can't count anymore. But unfortunately I didn't find a system behind those docs yet :)If you have ideas about improving the manual, don't hesitate to share them with us.
Btw., currently I am searching for a solution on how to change column attributes after mdb2 bind. Do you know a nice example somewhere?Are you using the HTML_Table renderer? The following call gives you full access to the HTML_Table object that Structures_DataGrid (or better said: the SDG_Renderer_HTMLTable class) instantiates: $table =& $renderer->getContainer(); An alternative would be to pass your own HTML_Table object to Structures_DataGrid. (=> $datagrid->fill($table);) Regards, Mark -- http://www.markwiesemann.eu