public function build()
    {
        $grid = new Grid();

        foreach ($this->columns as $index => $column) {
            $grid->addColumn($column->build());
            $grid->addColumnResets($index, $column->getResets());
        }

        return $grid;
    }