Pagination on specific row class or data element name - is this possible?

Pagination on specific row class or data element name - is this possible?

fmpmanagerfmpmanager Posts: 1Questions: 0Answers: 0

Hello, and apologies if this was asked before. I've been searching for days but can't find the answer.

My use case is for a table that shows categories (which can have descendants up to n-level). The idea is for Datatables to paginate ONLY on top-level categories. Those categories have a specific class and html5 data tag. i.e. class="toplevel", data-top-id.

Is there a way to paginate on rows of a specific class or data element name?

Please feel free to point me to the correct documentation, and thank you in advance for the help!

Replies

  • allanallan Posts: 61,798Questions: 1Answers: 10,115 Site admin

    Hi,

    No - I'm sorry to say that this is not possible in DataTables at the moment. N-level hierarchy (descendants) is not supported and paging will always occur at the number of rows that has been specified only.

    Allan

This discussion has been closed.