public ActionResult List(JqGridFilterModel opts)
 {
     var result = new GenericRepository<VwScreen>(Db).JqGridFindBy(opts, VwScreenJson.Key, VwScreenJson.Columns);
     return Json(result);
 }
 public static string OrderBy(JqGridFilterModel opt)
 {
     return String.Format("{0} {1}", opt.sidx, opt.sord.Trim().ToLower() == JQGRID_DESC ? SQL_DESC : SQL_ASC);
 }