Skip to content

classes_lib_controls_table_colgroup.class

Daniel Spors edited this page Nov 11, 2020 · 3 revisions

Classes in file lib/controls/table/colgroup.class.php

class ColGroup

Represents a colgroup element but in div annotation.

Namespace: ScavixWDF\Controls\Table

Extends: Control » Renderable

NewCol

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

SetAlignment

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)

SetCol

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

Clone this wiki locally