$(document).ready(function() {
    $.fn.DataTable.ext.pager.numbers_length = 5;
    $('.table.table-data').DataTable({
        searching:    false,
        ordering:     false,
        lengthChange: false,
        pageLength:   4,
        "dom":        "<'row'<'col-12'tr>><'row align-items-center justify-content-center'<'col-12 col-lg-auto'p>>",
        "language": {
            "paginate": {
              "previous": "Prev"
            }
          }
    });
});