getData(); $columnId = $column->getId(); switch ($columnId) { case 'id': return array('label' => $row->getId()); default: assert(is_array($element) && in_array($columnId, array_keys($element))); return array('label' => $element[$columnId]); }; } } ?>