Re: Re: HTML_Table: thead, tfoot and tbody

From: Date: Mon, 01 Aug 2005 20:20:09 +0000
Subject: Re: Re: HTML_Table: thead, tfoot and tbody
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-39108@lists.php.net to get a copy of this message
On 8/1/05, Christian Weiske <cweiske@cweiske.de> wrote: > > > (1) HTML_Table has the functions setRowType() and setColType(). One can > > set with them whether a row / a column should be rendered as <th> or > > <td>. Should this influence the mapping to tbody/thead/tfoot? (E.g.: Row > > 2 was set with setCellContents(), then $table->setRowType(2, 'TH') is > > called. Should row 2 now belong to thead or tbody?) > TH is allowed in tbody as well - so it shouldn't influence the location. I agree, I use "header" rows within some tables for things such as grouping. Example here: http://pear.reversefold.com/ShowTable.html -- Justin Patrin

« previous php.pear.dev (#39108) next »