X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/f2236412d0a9d15d594ad6f003c44c943d5e7e76..5abd29f291d601abd0bfcedb88c82b1aa723d614:/HTML/php/Tabla.php diff --git a/HTML/php/Tabla.php b/HTML/php/Tabla.php index d028cd6..7ff4816 100644 --- a/HTML/php/Tabla.php +++ b/HTML/php/Tabla.php @@ -201,6 +201,19 @@ class Tabla extends HTML_Table { return $this->updateColAttributes($columna,'align="'.$valor.'"'); } + /** + * Cambia el tamanio de una columna entera + * + * @param int $columna + * @param strin $valor + * + * @access public + */ + function setColWidth ($columna, $valor) + { + return $this->updateColAttributes($columna,'width="'.$valor.'"'); + } + /** * Cambia el color de fondo de una celda *