Since: DataTables 1.10

Page change event - fired when the table's paging is updated.


The page event is fired when table's paging state changes. This can be the end user selecting the page to view or the page length from the built-in controls, or when the page state is altered by the API (page()).

Note that the page will be fired before the table has been redrawn with the updated data.

Please note that, as with all DataTables emitted events, this event is triggered with the dt namespace. As such, to listen for this event, you must also use the dt namespace by simply appending .dt to your event name, as shown in the example below.


function function( e, settings )



Show information about the current page using the API:

var table = $('#example').DataTable();

$('#example').on( 'page.dt', function () {
	var info = table.page.info();
	$('#pageInfo').html( 'Showing page: '+info.page+' of '+info.pages );
} );


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