Twitter Bootstrap plugin first last navigation links?

Twitter Bootstrap plugin first last navigation links?

marceloverdijkmarceloverdijk Posts: 22Questions: 3Answers: 0
edited May 2013 in Plug-ins
The Twitter Bootstrap pagination plugin is awesome.
I'm only missing first last page navigation.

Does anybody know how to add these?

Replies

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin
    You'd need to modify the paging function here: https://github.com/DataTables/Plugins/blob/master/integration/bootstrap/dataTables.bootstrap.js#L34 .

    I'm about to start work on making the paging controls much easier to customise actually as it is a bit of a pain at the moment, but you'd just add two more buttons and use fnPageChange to jump page.

    Allan
  • marceloverdijkmarceloverdijk Posts: 22Questions: 3Answers: 0
    Thanks I will have a look.

    On related note it might be a good idea to make customising the search/filter input easier then as well.
  • marceloverdijkmarceloverdijk Posts: 22Questions: 3Answers: 0
    For what release is this easier way of customising planned?
  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin
    v1.10 - an alpha of which I hope to release in the next two weeks (alpha because the documentation won't be written).

    Allan
This discussion has been closed.