robinvanderknaap/MvcJqGrid — pull request #8 by krappies (2012-04-18 11:20:14+00:00)
Title: Update src/MvcJqGrid.net40/Grid.cs to allow the adding of a list of colu...

...mns at once, ie.

// In .cs
MyViewModel.Columns = new List {
new Column("CustomerId").SetLabel("Id"),
new Column("Name"),
new Column("Company"),
new Column("EmailAddress"),
new Column("Last Modified"),
new Column("Telephone")
};

@* In view *@
Html.Grid("Basic").AddColumns(Model.Columns)