Namespace: oPaginate

Ancestry: DataTable » .defaults » .oLanguage. » oPaginate

DataTables v1.9.4 documentation

Navigation

Hiding private elements (toggle)
Showing extended elements (toggle)

Pagination string used by DataTables for the two built-in pagination control types ("two_button" and "full_numbers")

Summary

Properties - static

<static> sFirst :string

Text to use when using the 'full_numbers' type of pagination for the button to take the user to the first page.

<static> sLast :string

Text to use when using the 'full_numbers' type of pagination for the button to take the user to the last page.

<static> sNext :string

Text to use for the 'next' pagination button (to take the user to the next page).

<static> sPrevious :string

Text to use for the 'previous' pagination button (to take the user to
the previous page).

Details

Properties - static

<static> sFirst :string

Text to use when using the 'full_numbers' type of pagination for the button to take the user to the first page.

Example
   $(document).ready( function() {
     $('#example').dataTable( {
       "oLanguage": {
         "oPaginate": {
           "sFirst": "First page"
         }
       }
     } );
   } );
<static> sLast :string

Text to use when using the 'full_numbers' type of pagination for the button to take the user to the last page.

Example
   $(document).ready( function() {
     $('#example').dataTable( {
       "oLanguage": {
         "oPaginate": {
           "sLast": "Last page"
         }
       }
     } );
   } );
<static> sNext :string

Text to use for the 'next' pagination button (to take the user to the next page).

Example
   $(document).ready( function() {
     $('#example').dataTable( {
       "oLanguage": {
         "oPaginate": {
           "sNext": "Next page"
         }
       }
     } );
   } );
<static> sPrevious :string

Text to use for the 'previous' pagination button (to take the user to
the previous page).

Example
   $(document).ready( function() {
     $('#example').dataTable( {
       "oLanguage": {
         "oPaginate": {
           "sPrevious": "Previous page"
         }
       }
     } );
   } );