0
Q:

can i change previous button in datatable

$('.datatable-Permission:not(.ajaxTable)').DataTable({ 
      buttons: dtButtons,
      language: {
        paginate: {
            previous: 'Prev',
            next:     'Next'
        },
        aria: {
            paginate: {
                previous: 'Previous',
                next:     'Next'
            }
        }
    }
})
1
Plain text12345678$(el).dataTable({  language: {    'paginate': {      'previous': '<span class="prev-icon"></span>',      'next': '<span class="next-icon"></span>'    }  }});
1
Javascript1234567$('#example').dataTable( {  "language": {    "paginate": {      "previous": "Previous page"    }  }} );
1
Javascript1234567891011121314$('#example').DataTable( {    language: {        paginate: {            previous: '‹',            next:     '›'        },        aria: {            paginate: {                previous: 'Previous',                next:     'Next'            }        }    }} );
0

New to Communities?

Join the community