Customize page numbers

Customize page numbers

TABZTABZ Posts: 3Questions: 2Answers: 0

Hi,
Great plugin..!!

I am using "pagingType": "full_numbers" when i click on page number 5 by default it shows

First Previous 1...4 5 6...30 Next Last (with 5 highlighted)

I want to display it like

First Previous 1...5 6 7 8 9...30 Next Last (with 5 highlighted)

How can I do that? Please help..

Thanks..

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 64,032Questions: 1Answers: 10,555 Site admin
    Answer ✓

    Set $.fn.dataTable.ext.pager.numbers_length = 9; before you initialise the DataTable.

    Allan

  • TABZTABZ Posts: 3Questions: 2Answers: 0

    Thank you Allan for the reply :)

This discussion has been closed.