Default Initialize TableTools?

Default Initialize TableTools?

AmareduesAmaredues Posts: 5Questions: 2Answers: 0

I've tried initializing the TableTools extension like so:

$.extend($.fn.dataTable.defaults, {
    dom: "<'clear'><l><'"+tblBtnGroup+"'T><'"+searchBar+"'f><'"+loadingInd+"'r>t<'"+tableInfo+"'i><p>",
        responsive: false,
    paging: false,
    processing: true,
    language: {
        processing: imgLoadLoc
    },
        tableTools: {
        "sSwfPath": "../external/DataTables-1.10.7/extensions/TableTools/swf/copy_csv_xls_pdf.swf",
        "sRowSelect": "multi"
        }

This isn't working for me. Am I doing something wrong?

Answers

  • AmareduesAmaredues Posts: 5Questions: 2Answers: 0

    Ok I found a better alternative. Instead of manually initializing TableTools. Instead, I placed the swf folder in the default location of resources/swf, and copied this multi line example.

This discussion has been closed.