datatable pagenation after click on view but pagination reload from 1 st page code example
Example: refresh datatable on button click with maintaining paging
datatable_appointments.ajax.reload( null, false )
datatable_appointments.ajax.reload( null, false )