Add include images to exporter

This commit is contained in:
JonnyWong16 2020-09-26 19:26:24 -07:00
parent 6f362ee2ad
commit b1eab8bb0d
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 26 additions and 5 deletions

View file

@ -50,7 +50,7 @@ export_table_options = {
$(td).html(cellData);
}
},
"width": "8%",
"width": "7%",
"className": "no-wrap"
},
{
@ -84,10 +84,14 @@ export_table_options = {
"data": "file_format",
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
$(td).html(cellData);
var images = '';
if (rowData['include_images']) {
images = ' + images';
}
$(td).html(cellData + images);
}
},
"width": "6%",
"width": "7%",
"className": "no-wrap"
},
{