Pagination for multiple tables

Pagination for multiple tables

acidparanoidacidparanoid Posts: 2Questions: 1Answers: 0

Hi!

I have about 10 tables on one page, is there a way to set pagination on first table to work on other tables too?
E.g. i press "next" button on first table and page changes in every table.

Thx in advance.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,812Questions: 1Answers: 10,516 Site admin
    Answer ✓

    You would need to use a listener on the page event and then trigger paging on the other tables to match the first table.

    Allan

  • acidparanoidacidparanoid Posts: 2Questions: 1Answers: 0
    edited August 2016

    UPD oh,it seems I've figured it out, no further questions :smile:

    Can you elaborate a little more? I understand the concept, but there are several events - next/previous + exact page selecting, I've spent some time trying to implement this kind of behavior but with no profit. Also I use DataTables in Pentaho CDE, it's making it more complicated than it could be.

This discussion has been closed.