Counter Columns Not showing in print

Counter Columns Not showing in print

anovobanovob Posts: 3Questions: 2Answers: 0
edited May 2019 in Free community support

Hello all,

I've added one table and I tried to add an auto increment table row called "serial" for the serial number using the https://legacy.datatables.net/ref#fnRowCallback option, the code goes as:

<code>
"fnRowCallback" : function(nRow, aData, iDisplayIndex){
$("td:first", nRow).html(iDisplayIndex +1);
return nRow;
},
</code>

The serial number is coming, but the serial number is not showing in print, any one can please help me what to do now?

Answers

This discussion has been closed.