Sent table to controller in MVC by ajax As JSON Object

Sent table to controller in MVC by ajax As JSON Object

a_bido2007a_bido2007 Posts: 1Questions: 1Answers: 0

Hi Guys ,
I face problem here and i will appreciate your help,

Reference to below link i can download the table as JSON,

https://datatables.net/extensions/buttons/examples/html5/customFile.html

But in my case i want to save the table as JSOn in variable to send it to controller by use Angular or JQuery AJAX

I can do that by using tableToJSON Library but i will store the showing row only in current page not the full rows

{ var table = $('#datatable').tableToJSON();}

This discussion has been closed.