Duplicating Header Every 10 rows

Duplicating Header Every 10 rows

lostedlosted Posts: 1Questions: 1Answers: 0

Hello,

I'm trying to duplicate the header every 10 rows in my datatables and I can't seem to figure out how...

I tried grouping them with something like https://www.datatables.net/examples/advanced_init/row_grouping.html

But "drawCallback" doesn't get fired... If I use "fnDrawCallback" then this.api is not a function.. and I'm using .DataTable() and not .dataTable() so I don't know what I'm doing wrong.

Any help is appreciated thanks!

Answers

  • allanallan Posts: 63,809Questions: 1Answers: 10,516 Site admin

    We'd need a link to a test page showing the issue as per the forum rules. drawCallback is the correct way to go about it.

    Allan

This discussion has been closed.