Show number of grouped rows per group
Show number of grouped rows per group
dgbeer
Posts: 4Questions: 2Answers: 0
Just change line 281 of dataTables.rowGroup.js to
display = this.c.startRender.call( this, dt.rows(rows), groupName + " (" + group.rows.length + ")" , level );
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @dgbeer ,
One problem with doing it that way is that you'll lose that edit if you upgrade. This example shows how you can do that within the render functions, which would be more portable longterm.
Cheers,
Colin
Thanks!