Alignment column
Alignment column
aaiglesias85
Posts: 25Questions: 8Answers: 0
Hello
I need to .alignment x column, my code is
<table id="taxes-report-row-export" class="table" data-paging-container="#paging-ui-container" width="100%">
<thead>
<tr>
<th>Date</th>
<th>Flight</th>
customize: function (doc) {
var rowCount = document.getElementById("taxes-report-row-export").rows.length;
var table = document.getElementById("taxes-report-row-export");
for (i = 0; i < rowCount; i++) {
doc.content[1].row.body[i][5].alignment = 'right';
};
Error : Uncaught TypeError: Cannot read property 'table' of undefined.
Regards
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
fix for
for (i = 0; i < rowCount; i++) {
doc.content[1].table.body[i][5].alignment = 'right';
};
The same error : Uncaught TypeError: Cannot read property 'table' of undefined.
Hi @aaiglesias85 ,
This FAQ here will get you going,
Cheers,
Colin