function testNestedGrid()
    {
        $grid = file_get_contents(GSC_PATH . "/tests/fixtures/gridnested.json");
        $renderer = new GSCRenderer($grid, $this->content, "JSONGridRow", $this->delimiter);
        $output = $renderer->render();
        $expectedoutput = <<<OUT
{"cols":[{"width":2,"content":"section1"},{"width":4,"content":"{"cols":[{"width":2,"content":"section2"},{"width":2,"content":"section3"}]}{"cols":[{"width":4,"content":"section4"}]}"}]}
OUT;
        $this->assertEquals($output, $expectedoutput);
    }
 public function GridContent($pos = null)
 {
     $renderer = new GSCRenderer($this->owner->GridLayout, $this->owner->Content);
     return $renderer->render();
 }
 public function RenderGrid()
 {
     $renderer = new GSCRenderer($this->value, "", "GridSelectionFieldRow");
     return $renderer->render();
 }