You can use jQuery Datatables for this:
https://www.datatables.net/[
^]
and initialize it like:
$(document).ready(function(){
$('#myTable').DataTable();
});
and then you can make ajax call and get the array data to reload it on client side like:
$('#myTable').dataTable().fnAddData(array_ajax_data);
Hope this helps!