Spacer TR

Spacer TR

morthahnamorthahna Posts: 18Questions: 0Answers: 0
edited March 2011 in General
I would like to add a spacer TR after each data TR but the last one. Like...







Any suggestions?

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    You could use fnDrawCallback and standard DOM methods to do this. Just loop over the list of TR elements in the table and do an insertAfter() for each one. This grouping example does something a little bit similar, and adaptable to your case: http://datatables.net/examples/advanced_init/row_grouping.html

    Allan
This discussion has been closed.