@Awais,
There are no records for DataTable. Try running fnDraw () after dynamically adding data to the table via fnAddData ().
It is assumed that DataTables automatically updates the pagination component after creating the redraw.
Try updating if it works.
source share