how to turn off pagination in layout option

how to turn off pagination in layout option

tacman1123tacman1123 Posts: 198Questions: 46Answers: 1

I'm using scroller, so pagination makes no sense. With the dom option, I can simply omit the 'p', but how do I disable pagination using layout? This isn't working.

            scroller: true,
            layout: {
                paging: false
            },

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,434Questions: 1Answers: 10,458 Site admin
    Answer ✓

    It is in the bottomEnd position by default, so you set that to null:

    layout: {
      bottomEnd: null
    }
    

    That said, Scroller should hide the paging control automatically, like in this example. Did you include the Scroller CSS?

    Allan

  • tacman1123tacman1123 Posts: 198Questions: 46Answers: 1

    Indeed, I had forgotten the css! Thanks.

Sign In or Register to comment.