Open
Description
If can write below code to instead of JavaScript at Razor should save a lots code
@(Html.Grid("basic")
.SetCaption("Basic Grid")
.AddColumn(new Column("Id")
.SetLabel("Id"))
.AddColumn(new Column("FirstName"))
.AddColumn(new Column("LastName"))
.AddColumn(new Column("City"))
.AddColumn(new Column("Zip"))
.SetUrl("/Home/IndexJsonList/")
.SetAutoWidth(true)
.SetRowNum(10)
.SetRowList(new int[]{10,15,20,50})
.SetViewRecords(true)
.SetPager("pager"))
Metadata
Metadata
Assignees
Labels
No labels