asp.net mvc - In KendoUI Grid - make grid using C# viewModel -


my scenario , i've controller passing viewmodel object view .

for 1 model can return json array controller . multiple objects case viewmodel , thing each list (in viewmodel object) need make seperate grid . appreciated .

i have done before - in javascript, can generate kendo datasource object in viewmodel:

var yourdatasource = new kendo.data.datasource({ data: @html.raw(json.encode(model.someobject)) }); yourdatasource.read(); 

more not though, wire service loading of data can asynchronous, etc...


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -