how to count parent rows if child rows are hidden

how to count parent rows if child rows are hidden

P4nk4j Sh4rm4P4nk4j Sh4rm4 Posts: 25Questions: 7Answers: 0

Allan,
My table has hidden rows with expand collapse button applied to a parent row. what I need is when I'm using pagination Datatable counts the hidden rows and shows pagination. Is there a way to count parent rows instead of counting total rows i.e.,(parent rows + hidden child rows).

Any help would be appreciated, thanks.

This discussion has been closed.