How to refresh the table every X seconds. #542
-
Hello everyone, how to refresh the table every X seconds? |
Beta Was this translation helpful? Give feedback.
Answered by
promatik
Jun 25, 2023
Replies: 1 comment 3 replies
-
Hi @EGYWEB-Mohamed! If so, there is a method on setInterval(window.crud.table.ajax.reload, 10e3) // 10 secs |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
promatik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @EGYWEB-Mohamed!
I believe you are talking about the entity list table — datatables (https://datatables.net/)
If so, there is a method on
window.crud.table
that you can you use;ajax.reload()
, just wrap it inside asetInternal
👌