private function buildCell($cell)
    {
        if (is_array($cell)) {
            $cell = $this->getServiceLocator()->get('DataGrid\Factory\Cell')->get($cell);
        } elseif (!($cell instanceof CellInterface)) {
            throw new \RuntimeException('You must provide Correct cell definition or Cell instance implementing CellInterface for data grid cells set.');
        }
        return $cell;
    }