export the data from table

export the data from table

gajananh999gajananh999 Posts: 3Questions: 0Answers: 0
edited December 2012 in DataTables 1.9
Dear Everyone,

I am using Data Tables and putting data in to table is there any way to export that data into Excel,PDF or any format.

Please anyone help me online.

Thanks and regards,
Gajanan Hiroji.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    http://datatables.net/extras/tabletools/

    Allan
  • gajananh999gajananh999 Posts: 3Questions: 0Answers: 0
    Dear Allan,

    Thank you very much.
  • gajananh999gajananh999 Posts: 3Questions: 0Answers: 0
    Dear Allan,

    But i m not able to do that.

    i have added this code in javascript

    $(document).ready(function() {
    oTable = $('#example').dataTable({
    "bJQueryUI": true,
    "sPaginationType": "full_numbers",
    "sDom": 'T<"clear">lfrtip',
    "oTableTools": {
    "sSwfPath": "swf/copy_csv_xls_pdf.swf"
    }
    });
    } );
This discussion has been closed.