When using DataTables (www.datatables.net) to process the table, the different
classes used for <tr> tags makes the alternating row colors unreliable.
Removing oddOrEven, as below fixes this. Allowing the user to set options
trClassOdd and trClassEven to the same value is another possible fix.
Line 129:
- (printedLines % 2) ? oddOrEven = 'odd' : oddOrEven = 'even';
- tableHTML += '<tr class="' + options.trClass + ' ' + oddOrEven + '">';
+ tableHTML += '<tr class="' + options.trClass + ' ">';
Original issue reported on code.google.com by j...@simula.no on 19 Mar 2014 at 10:13
Original issue reported on code.google.com by
j...@simula.no
on 19 Mar 2014 at 10:13