Fixed wrapping
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
7076a68d35
commit
ce8523b00a
1 changed files with 9 additions and 3 deletions
|
@ -29,9 +29,15 @@
|
|||
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"};
|
||||
export_options['jspdf'] = {"autotable": {"styles": {overflow: 'linebreak'},
|
||||
tableWidth: 'wrap'}};
|
||||
export_options['jspdf'] = {
|
||||
"orientation": "l",
|
||||
"autotable": {
|
||||
"styles": {
|
||||
overflow: 'linebreak'
|
||||
},
|
||||
tableWidth: 'wrap'
|
||||
}
|
||||
};
|
||||
// tableWidth: 'wrap',
|
||||
// the following callback method is necessary to prevent XSS vulnerabilities
|
||||
// (this is taken from Bootstrap Tables's default wrapper around jQuery Table Export)
|
||||
|
|
Loading…
Add table
Reference in a new issue