我使用ui-grid export pdf,但是最后一列总是被切成两半。无论我设置的页面大小是什么。
我到处找,有人说,设置exporterPdfOrientation:‘景观’,在
$scope.gridOptions = { ... exporterPdfOrientation: 'landscape', ...}它对我不起作用。

发布于 2017-12-14 08:24:58
经过多次尝试:我发现解决方案是降低exporterPdfMaxGridWidth: 600,
exporterPdf configuration source code
$scope.gridOptions = {
exporterPdfOrientation: 'landscape',
exporterPdfPageSize:'A4', // exporterPdfMaxGridWidth = Defaults to 720 (for A4 landscape), use 670 for LETTER
// page size see --- https://github.com/bpampuch/pdfmake/blob/master/src/standardPageSizes.js
exporterPdfMaxGridWidth: 600, // bug, for A4, default is 720, set to 600 solve my problem. 这就是结果,不再有cut列

https://stackoverflow.com/questions/47804134
复制相似问题