Reset jQuery data table pagination to first page

    By: Thad Mertz
    4 years ago
    let table = $('.datatables-events').DataTable();
    table.draw();
    

    Just by draw function we can do that.