Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是使用 slickgrid 的新手。
我想知道是否有人可以帮助将 actionresult 或 jsonresult 返回到 slickgrid。我们怎么能做到这一点?
您应该能够将模型作为 JsonResult 返回到 slickgrid,如下所示:
return Json(JsonConvert.SerializeObject(YOUR_MODEL_INSTANCE));
看看http://james.newtonking.com/projects/json-net.aspx