How to implement changing of page number in text field?

How to implement changing of page number in text field?

awellawell Posts: 4Questions: 2Answers: 0

How would I implement this into the existing pagination controls? One of two options I can think of is to have the text field inbetween the first/previous and next/last buttons or have a text field pop up when you click on the ... buttons (like I have seen on other tables).

I have had a look at the input plugin but it seems you can't have and also include the first and last buttons (it also breaks the styling of the buttons). I have a general idea of how to do this manually but I'm wondering if anyone else has done this. Thanks.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @awell ,

    This example here came from a different thread - it allows you enter the page number in an input element. Is that the kind of thing you're looking for?

    Cheers,

    Colin

  • awellawell Posts: 4Questions: 2Answers: 0

    Yep that's the kind of thing I'm talking about. Thanks, that seems like a good place to start.

This discussion has been closed.