jquery - Send html table to controller in MVC by ajax As JSON Object in datatable -


i'm using datatables jquery plugin , i'm having trouble

reference below link can download table json,

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

but in case want save table json in variable send controller use angular or jquery ajax

i can using tabletojson library store showing row in current page not full rows

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

if you're using client-side processing, can retrieve data whole table using data() api method.

var data = $('#datatable').datatable().data(); 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -