Re: Structures_DataGrid TH column instead of TH row?

From: Date: Thu, 23 Aug 2007 17:14:39 +0000
Subject: Re: Structures_DataGrid TH column instead of TH row?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27845@lists.php.net to get a copy of this message
Hi Jeremiah, Jeremiah Mattison wrote: > I am wondering if I'm overlooking a simple way to have SDG use a column > of TH instead of a row of TH? There is no option in SDG for such a task. Two possible solutions: - use $datagrid->fill() with your own HTML_Table instance, and use then $table->setColType() to change the column type from <td> to <th> - overload the HTMLTable renderer and add the behaviour to the buildRow() method Regards, Mark -- http://www.markwiesemann.eu

« previous php.pear.general (#27845) next »