language.paginate.previous

Since: DataTables 1.10

Pagination 'previous' button string.

Description

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

Note that DataTables writes this property to the document as HTML, so you can use HTML tags in the language string, but HTML entities such as < and > should be encoded as &lt; and &gt; respectively.

Type

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

Default

  • Value: Previous

Example

Set text for pagination 'previous' button:

$('#example').dataTable( {
  "language": {
    "paginate": {
      "previous": "Previous page"
    }
  }
} );

Related

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