0

I need to pull table data from EF/a database and bind to a Dojo DataGrid inide an ASP.Net MVC 3 app. I guess I have to create a JS object/array from the data from a db/EF 1st, before it's bound, right? Should I convert the data to a JSON object 1st? Also the some grids would need to be hierarchical (ie certain cells may have repeating groups). Is there any way to directly bind something like a .Net DataSet or a hierarchical JS object directly to the Jodo grid? I guess I could traverse a host language construct like a .Net DS/EF object and create something to pass in, but also wondering a best practice on how to get the data from the host language construct to the grid on the client side, say, if I did an AJaX call to refresh the data.

1 Answer 1

1

I think you could finde your answer in Connecting Dojo DataGrid to Entity Framework 4.1 using JsonRest Store and ASP.NET MVC

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.