Exporting with server side processing

Exporting with server side processing

tahatra2112tahatra2112 Posts: 2Questions: 0Answers: 0
edited August 2012 in General
Hi,

My name jonathan. And im newbie in programming. I would ask something about exporting to excel, pdf or csv format.
i have set data tables with server side processing than i use bellow code

[code]
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"aButtons": [
{
"sExtends": "xls",
"mColumns": [0, 1, 2, 3, 4, 5, 6, 7],
"bFooter": false
},
{
"sExtends": "pdf",
"mColumns": [0, 1, 2, 3, 4, 5, 6, 7],
"sPdfOrientation": "landscape",
"bFooter": false
},
{
"sExtends": "print",
"mColumns": [0, 1, 2, 3, 4, 5, 6, 7],
"bFooter": false
}
]
}
[/code]

when i try to export to anything format (excel, pdf or csv) why the output is just page one? why the output isn't all of data? should i export all of data when i use server side processing?

thanks for ur all help.

Replies

  • naddy19naddy19 Posts: 8Questions: 0Answers: 0
    Your code doesn't tells a lot, as it is incomplete. But still reading your description, you have activated server side processing with the dataTable, since server side is on, only one page of data is available on the client side, and hence you are getting only one page exported.

    I hope this solves your issue
  • tahatra2112tahatra2112 Posts: 2Questions: 0Answers: 0
    Dear naddy19 thank you for the advice. Yes i have activated server side processing with dataTable. If i have to exported only one page of data can exported. Should i exported all data when i activated serverside processing? not only one page of data.

    I need use a server side processing because i have a large data, but the other side i have to export all data too
This discussion has been closed.