Thanks! That put me on the right track. I had a little adjusting to do, but it’s working great!
$tabletools_options = '{ "sSwfPath": "' . $swf_path . '", "aButtons": [ { "sExtends": "pdf", "sButtonText": "PDF", "oSelectorOpts": {"page": "current"} }, { "sExtends": "print", "sButtonText": "Print" } ] }';
It looks like I need to add the following for the pdf output:
"oSelectorOpts": {page: 'current'}
I’m guessing I need to add it to:
$tabletools_options = '{ "sSwfPath": "' . $swf_path . '", "aButtons": [ { "sExtends": "pdf", "sButtonText": "PDF" }, { "sExtends": "print", "sButtonText": "Print" } ] }';
But, I’m not sure of the syntax
Thanks!
Ok, thanks for quick response! I’ll take a look at the Data Tables site.