Cannot read property _calcWidth of undefined
Cannot read property _calcWidth of undefined

I'm trying to create a PDF report using pdfmake and data from Datatables.Net. I was able to produce a simple text only test pdf but when I introduce a table with data in my document definition, it throws the error 'Cannot read property _calcWidth of undefined' which originates in the datatables.min.js file.
I understand that pdfmake.js is bundled in with datatables but I've scoured the pdfmake documentation and they have no reference to this attribute.
Is this a Datatables-specific requirement and if so, how can I customise the pdf?
Thanks.
Answers
Are you trying to customize the PDF output?
Post your Datatables init code.
Kevin