Recommended approach to implementing inline editing for a MVC grid please?

前端 未结 5 568
醉酒成梦
醉酒成梦 2021-02-08 16:07

I am using MVC3, C#, Razor, EF4.1

I have implemented grids in their most simple form ie Razor Tables. At present I have implemented editing of record fields off page ie

5条回答
  •  臣服心动
    2021-02-08 16:55

    Using knockout.js is my preferred approach, and in my opinion, is simple to get started with but flexible enough to keep up with project demands.

    Here are examples:

    http://www.knockmeout.net/2011/03/guard-your-model-accept-or-cancel-edits.html

    http://knockoutjs.com/examples/gridEditor.html

    If you think this is for you then take an hour or two and go through the tutorials, it's well worth the time:

    http://learn.knockoutjs.com/

提交回复
热议问题