public function addTotalRow($field, $name = null, $label = null)
    {
        if ($name === null) {
            $name = $field;
        }
        if ($label === null) {
            $label = $name;
            $name  = $field;
        }
        $this->totalRow[$field] = array('Field' => $field, 'Name' => $name, 'Label' => $label);
    }