HTML_Table::setColType()

HTML_Table::setColType() – Set column type

Synopsis

require_once 'HTML/Table.php';

void HTML_Table::setColType ( int $col , string $type , int $body = null )

Description

Sets the type of a column to 'th' or 'td'

Parameter

  • int $col - Column index

  • string $type - th or td

  • int $body - The number of the tbody group that should be used. NULL indicates that all groups should be used.

Note

This function can not be called statically.

Set a colgroup (Previous) Set content of header cell (Next)
Last updated: Thu, 24 Apr 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

Note by: cweiske
- This method has to be called after all the rows have been added to the table
- Column index begins with 0