Since: DataTables 2.0.4

Include (or not) the leading first and last page in the numbers.


The pagination control presented by DataTables will show numbered buttons for the first page and the last page at all times (unless hidden by its responsive action), with an ellipsis between them and the number group for the current page - e.g.:

1 ... 5 6 7 ... 23

The first and last numbered buttons could be considered redundant if you have the first / last icon buttons also enabled, which they are by default. This option (paging.boundaryNumbers) of the paging control provides the ability to disable the first and last numbers buttons. When disabled, the above example would display as:

... 5 6 7 ...

The first / last and previous / next buttons can be optionally enabled / disabled around the numbered buttons group.


This option can be given in the following type(s):


  • Value: true


Disable the first and last number buttons when there is an ellipsis between them and the current paging number group.:

new DataTable('#myTable', {
	layout: {
		bottomEnd: {
			paging: {
				boundaryNumbers: false


The following options are directly related and may also be useful in your application development.