changing text on paging

changing text on paging

ondraondra Posts: 6Questions: 0Answers: 0
edited November 2009 in General
Hi, I have this table :
$("#myTable").dataTable({
"bPaginate": true,
"bLengthChange": true,
"bFilter": false,
"bSort": false,
"bInfo": false,
"bAutoWidth": false ,
"sPaginationType": "full_numbers"});

as there any way to change the text on the bottom of the table , like first , next etc . ?

thanks

Replies

  • izzy6150izzy6150 Posts: 49Questions: 0Answers: 0
    Hi ondra,

    I believe the thing you are looking for is the oLanguage.oPaginate settings which can be setup like so:
    [code]
    $(document).ready(function() {
    $('#example').dataTable( {
    "oLanguage": {
    "oPaginate": {
    "sFirst": "First page", // This is the link to the first page
    "sPrevious": "Previous page", // This is the link to the previous page
    "sNext": "Next page", // This is the link to the next page
    "sLast": "Last page" // This is the link to the last page
    }
    }
    } );
    } );
    [/code]

    for further details take a look here: http://datatables.net/usage/i18n

    Regards,
    Izzy
  • ondraondra Posts: 6Questions: 0Answers: 0
    and what if I want to put there instead of text dome image ?
  • izzy6150izzy6150 Posts: 49Questions: 0Answers: 0
    Hello,

    not sure I know what you mean by dome image???

    can you give an example of the text you want to change.

    or take a look to see if what u are looking for is here: http://datatables.net/usage/i18n

    Regards
    Izzy
  • ondraondra Posts: 6Questions: 0Answers: 0
    thanks
This discussion has been closed.