diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index c354eeea3b..1dc35df6bf 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -34,6 +34,7 @@ data_export_options = $(this).attr('data-export-options'); export_options = data_export_options ? JSON.parse(data_export_options) : {}; export_options['htmlContent'] = false; // this is already the default; but let's be explicit about it + export_options['jspdf']= {"orientation": "l"}; // the following callback method is necessary to prevent XSS vulnerabilities // (this is taken from Bootstrap Tables's default wrapper around jQuery Table Export) export_options['onCellHtmlData'] = function (cell, rowIndex, colIndex, htmlData) {