Description
Hey everyone! Just wanted to bring this up since I'm having an issue. Its working on one project but not another and I don't understand why. Here is my return information:
From UI Grid pdfExport on line 17425 after its been converted to the doc definition format.
{
"pageOrientation": "landscape",
"pageSize": "LETTER",
"content": [{
"style": "tableStyle",
"table": {
"headerRows": 1,
"widths": [71.54471544715447, 71.54471544715447, 71.54471544715447, 71.54471544715447, 71.54471544715447, 71.13821138211382, 71.13821138211382],
"body": [
[{
"text": null,
"style": "tableHeader"
}, {
"text": "Date",
"style": "tableHeader"
}, {
"text": "Enter",
"style": "tableHeader"
}, {
"text": "Exit",
"style": "tableHeader"
}, {
"text": "Total",
"style": "tableHeader"
}, {
"text": "Break",
"style": "tableHeader"
}, {
"text": "Errors",
"style": "tableHeader"
}],
["", " 2015-08-12, Wednesday", "", "", "", "", "0"],
]
}
}],
"styles": {
"tableStyle": {
"margin": [30, 30, 30, 30]
},
"tableHeader": {
"fontSize": 10,
"bold": true,
"italics": true,
"color": "red"
}
},
"defaultStyle": {
"fontSize": 9
}
}
And I get an error from PDF Make like this:

Grid API Function
function exportGrid(format) {
if (format == 'csv') {
// var myElement = angular.element(document.querySelectorAll(".custom-csv-link-location"));
$scope.gridApi.exporter.csvExport('all', 'all');
} else if (format == 'pdf') {
$scope.gridApi.exporter.pdfExport('all', 'all');
}
}
** Note ** Ignore the CSV portion, I didn't begin working on that yet. Just the PDF part.
And when I try to debug for some reason the data is null by the time it get so the TextTools.prototype.buildInlines on line 15940 for the argument textArray. I'm still exploring and if needed I will create a plunkr but I just don't understand why this is working on the website and not in the app.
The data going into the grid is completely from the server, the grid columns, data and all. So it looks a bit something like this:

This being said, could this be causing the issue? I've seen other exporter issues but none relating to the use case I'm listing above, unless I'm missing something in your guys' massive bug list. Sorry to add one more 😓