-
Notifications
You must be signed in to change notification settings - Fork 34
classes_lib_controls_table_colgroup.class
Daniel Spors edited this page Nov 11, 2020
·
3 revisions
Represents a colgroup element but in div annotation.
Namespace: ScavixWDF\Controls\Table
Extends: Control » Renderable
Adds a col element.
Definition: public function NewCol($width=false, $align=false)
Returns: Control The created col element
Parameters:
-
mixed $width
Columns width -
string $align
Alignment
Sets the alignment.
Definition: public function SetAlignment($alignment)
Returns: $this
Parameters:
-
array $alignment
Array of alignments for each column l(eft)|r(ight)|c(enter)
Sets properties of a specified col element.
Definition: public function SetCol($index, $width=false, $align=false)
Returns: Control The changed col element
Parameters:
-
int $index
Zero based index of col element -
mixed $width
Columns width -
string $align
Alignment