paging
Since: DataTables 2.0
Pagination buttons.
Description
This feature displays the pagination control next to the table, enabling the end user to change the page of data that is shown to them.
The paging
feature can be disabled completely using the paging
option or by excluding it from the layout
options (which is the preferred method as of DataTables 2).
Examples
Disable paging control with default layout:
new DataTable('#myTable', {
layout: {
bottomEnd: null
}
});
Show paging control top left:
new DataTable('#myTable', {
layout: {
topStart: 'paging',
bottomEnd: null
}
});
Show paging control with options:
new DataTable('#myTable', {
layout: {
bottomEnd: {
paging: {
type: 'simple'
}
}
}
});
Related
The following options are directly related and may also be useful in your application development.