Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35272

ASP.NET MVC5 Server-Side PartialView ViewModel

$
0
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.


Viewing all articles
Browse latest Browse all 35272

Trending Articles