{hero}

pagingType

Since: DataTables 1.10

Pagination button display options.

Description

This option sets the paging type for all paging table feature controls used for a table. The values it can take are defined in paging.type, which be used to override this option (as of DataTables 2).

Please note that the default value of this parameter was changed in DataTables 2. It is now full_numbers, while in DataTables 1.x it was simple_numbers. This change was made as the paging control in DataTables 2 is now responsive and also uses icons for the fixed buttons.

Type

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

Default

  • Value: full_numbers

Example

Use the simple_numbers type of pagination control:

new DataTable('#myTable', {
	pagingType: 'simple_numbers'
});

Related

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