$this->addElement('checkbox', 'toggleSelect', NULL, NULL, array('class' => 'select-rows'));
foreach ($rows as $row) {
$this->addElement('checkbox', $row['checkbox'], NULL, NULL, array('class' => 'select-row'));
$this->addElement('checkbox', 'toggleSelect', NULL, NULL, array('class' => 'select-rows'));
foreach ($rows as $row) {
$this->addElement('checkbox', $row['checkbox'], NULL, NULL, array('class' => 'select-row'));