X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FTable.class.php;h=7bcd78be89e717c60c932e7020eed4e0d04e4d32;hb=fcb232f2236dd0105525b0239fa7b212aaf72a2a;hp=1e692c3167ddce94687c367621a0f31e3a693afd;hpb=88a1f19a4593e960d7f15225d446f6dcada26dbc;p=timetracker.git diff --git a/WEB-INF/lib/form/Table.class.php b/WEB-INF/lib/form/Table.class.php index 1e692c31..7bcd78be 100644 --- a/WEB-INF/lib/form/Table.class.php +++ b/WEB-INF/lib/form/Table.class.php @@ -47,9 +47,10 @@ class Table extends FormElement { var $mHeaderOptions = array(); var $mProccessed = false; - function __construct($name) { + function __construct($name, $cssClass = null) { $this->class = 'Table'; $this->name = $name; + $this->cssClass = $cssClass; } function setKeyField($value) { @@ -122,6 +123,9 @@ class Table extends FormElement { if ($this->mInteractive) $html .= $this->_addJavaScript(); $html .= "