json - How to populate a jquery grid using Knockout JS in MVC 4 -


i'm new asp.net mvc , knockout js. have project requirement below.

  1. i should have list<> in viewmodel data grid.
  2. i need pass list's data controller view through $.ajax() method.
  3. the data coming controller should in json format.
  4. i should use knockout js data-binding in view.

please, can me task example or provide me web links demo.

about returning json, asp.net webapi should best bet. samples here : http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api

ko grid doing on front-end side. there's sample here started : http://knockout-contrib.github.io/kogrid/#/overview

i think that's things you'll need started!


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -