I'm following the code on here in razor syntax. I end up with this:
I tried this:
@{Html.Grid("basic")
.setCaption("Basic Grid")
.addColumn(new Column("JobId")
.setLabel("Id"))
.addColumn(new Column("Title"))
.addColumn(new Column("CreatedDate"))
.setUrl(Url.Action("Jobs"))
.setAutoWidth(true)
.setRowNum(10)
.setRowList(new int[]{10,15,20,50})
.setViewRecords(true)
.setPager("pager");}
and its displays nothing. I had it starting with just @ and it encoded the data.