// AJAX: Called by the JqGrid control
public ActionResult Grid(JqGridSearchCriteria criteria)
{

 var draftJson = new {
      total = 1,
      page = 1,
      records = 1,
      rows = new[]
      {
       new{
          id = 8,
          cell = new[]
          {
          "data1",
          "data2",
          "9/13/2010",
          }
          }
     },
};

   return Json(draftJson, JsonRequestBehavior.AllowGet);
}
About these ads