This repository was archived by the owner on Feb 2, 2025. It is now read-only.
Rerender #1589
Answered
by
shanmukhateja
joseserrano15
asked this question in
Q&A
Rerender
#1589
-
Hello. Does anyone know how can reload the table but keep in the current page. Actually, if I am in the last page and I reload the table it is moving to the first page. I'm using the example of rerender: https://l-lin.github.io/angular-datatables/#/advanced/rerender |
Beta Was this translation helpful? Give feedback.
Answered by
shanmukhateja
Aug 17, 2021
Replies: 1 comment 1 reply
-
Hi, In your case you need Documentation: ajax.reload The |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
joseserrano15
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
In your case you need
dtInstance.ajax.reload(false)
instead ofthis.dtTrigger.next()
. Also removedtInstance.destroy()
call.Documentation: ajax.reload
The
false
parameter is necessary in your case to inform DT to NOT go back to the first page.