Helping ordinary people create extraordinary websites!


HTML_Table::setCellAttributes()

HTML_Table::setCellAttributes() -- Set cell attributes

Description

Sets the cell attributes for an existing cell. If the given indices do not exist and autoGrow is TRUE then the given row and/or column is automatically added. If autoGrow is FALSE, an error is returned.

Parameter

  • int $row - Row index

  • int $col - Column index

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

  • int $body - The number of the tbody group that should be used

Note

This function can not be called statically.