Esempio n. 1
0
 public ActionResult IndexJsonList(bool _search, string nd, int?rows, int?page, string sidx, string sord, jqgrid_asp.net_mvc.Filter filters)
 {
     return(JqGrid.Load(
                db.Persons,       //Please replace to your business logic code
                d => d.FirstName, //Please replace to your business logic code
                s => new          //Please replace to your business logic code
     {
         s.ID,
         s.FirstName,
         s.LastName,
         s.City,
         s.Zip,
     }, rows, page, _search, ref filters));
 }