jqgrid - ASP MVC WEB Api JS table -


can point me in right direction?

i'm looking use datatables.net or jqgrid asp mvc4 apicontroller action source.

the problem have return array of objects.. e.g. [{"name":"brian", "age" : "35"}, {"name":"jim", "age" : "45"}]

i don't format samples i.e. aadata or arrays of string. can tell me how overcome problem?

i'll settle jqgrid if , point me in direction of example. tnx brian.

it' not problem in jqgrid. need define jsonreader describe how data can read jqgrid. example

see the demo:

enter image description here

it uses

jsonreader: { repeatitems: false, id: "name", root: function (obj) { return obj; } } 

and json data posted.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -