I want to restrict page number options in the Bootstrap Data Tables Pagination option.
Currently, it's showing like this:
But I want to show it like this:
I want to restrict page number options in the Bootstrap Data Tables Pagination option.
Currently, it's showing like this:
But I want to show it like this:
You can use $.fn.DataTable.ext.pager.numbers_length = 5; where 5 is number of displayed buttons (next, prev, 1,2 and 3)
live example link