ASP.NET MVC5 Server-Side PartialView ViewModel

ASP.NET MVC5 Server-Side PartialView ViewModel

GAnanthuGAnanthu Posts: 1Questions: 0Answers: 0

I am using DT with ServerSide enabled in ASP.NET MVC5. I am returning back the JSON object with Sort,Filter and aaData, Is it possible for me to get the aaData as a ViewModel and then pass that ViewModel to the PartialView which builds the <tr> section and renders that back to the table as rows?

I see lots of example directly binding the JSON object to the table and DT constructs those <tr> from the JSON result set. Any help on this greatly appreciated. Thanks.

This discussion has been closed.