How to export the pipeline Cache data in csv file.
How to export the pipeline Cache data in csv file.
eng_mohit
Posts: 1Questions: 1Answers: 0
hi Allan,
i am using below code snippet to add the table tool functionality along with server side pipeline. we are caching 1000 records in 50 pages. we have implemented the export functionality which is exporting only 20 rows present in dom. can u please provide me some clue so instead of hitting the server again we will export the cache data in CSV.
"tableTools": {
"sSwfPath": "../media/swf/copy_csv_xls.swf",
"aButtons" : [ {
"sExtends" : "csv",
"sButtonText" : "Export",
"fnClick": function( nButton, oConfig ) {
json = jQuery.extend(true, {}, oCache.lastJson);
console.log(json);
}
} ]
},
This discussion has been closed.