Scroller is showing paging buttons

Scroller is showing paging buttons

marcesdanmarcesdan Posts: 3Questions: 1Answers: 0
edited December 2019 in Free community support

Hello! I have this configuration of datatables:

    "datatables.net": "1.10.19",
    "datatables.net-bs4": "1.10.19",
    "datatables.net-responsive-bs4": "2.2.3",
    "datatables.net-scroller": "2.0.0",

and the options object

{
      lengthChange: false,
      info: false,
      searching: false,
      scrollCollapse: true,
      scrollY: 600,
      scrollX: true,
      deferRender: true,
      responsive: true,
      paging: true,
      procesing: false,
      scroller: {
        loadingIndicator: true
      },
}

I don't understand why it shows the paging buttons when I enable scroller extension. When in this comment it says that it is impossible to happen...

https://datatables.net/forums/discussion/comment/63105/#Comment_63105

Thank you for helping!

Answers

  • marcesdanmarcesdan Posts: 3Questions: 1Answers: 0
    edited December 2019

    It was solved using the field

    dom: 'frt'
    but is not working well, the "sLoadingRecords" message is shown forever on the first scroll. Maybe now the problem is different...

  • marcesdanmarcesdan Posts: 3Questions: 1Answers: 0

    I solved it, my configuration was wrong. The correct packages were:

    "datatables.net-bs4": "1.10.20",
    "datatables.net-responsive-bs4": "2.2.3",
    "datatables.net-scroller-bs4": "2.0.1",
    
This discussion has been closed.