public function getRow($id)
    {
        if (!array_key_exists($id, $this->rows_by_id)) {
            throw new SwatWidgetNotFoundException(
                "Row with an id of '{$id}' not found."
            );
        }

        return $this->rows_by_id[$id];
    }