HTML_Table::setColAttributes() – Set column attributes


require_once 'HTML/Table.php';

void HTML_Table::setColAttributes ( int $col , mixed $attributes = null , int $body = null )


Sets the column attributes for an existing column


  • int $col - Column index

  • mixed $attributes - Associative array or string of table column attributes

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


This function can not be called statically.

Set cell content (Previous) Set number of columns (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.