(structure)
| 16724 | } |
| 16725 | |
| 16726 | var addHeader = function (structure) { |
| 16727 | structure.forEach(function (row) { |
| 16728 | addRow( |
| 16729 | row.map(function (cell) { |
| 16730 | return cell ? cell.title : "" |
| 16731 | }), |
| 16732 | rowPos |
| 16733 | ) |
| 16734 | $("row:last c", rels).attr("s", "2") // bold |
| 16735 | |
| 16736 | // Add any merge cells |
| 16737 | row.forEach(function (cell, columnCounter) { |
| 16738 | if (cell && (cell.colSpan > 1 || cell.rowSpan > 1)) { |
| 16739 | _excelMergeCells(rels, rowPos, columnCounter, cell.rowSpan, cell.colSpan) |
| 16740 | } |
| 16741 | }) |
| 16742 | }) |
| 16743 | } |
| 16744 | |
| 16745 | // Title and top messages |
| 16746 | var exportInfo = dt.buttons.exportInfo(config) |
no test coverage detected