Is list autorefresh possible?

bmarkus

New Member
Hi,

is it possible to autorefresh list periodically after a certain time or when database content changed?

Thanks... B?la
 
Last edited:
It's not baked in, but it'd be relatively easy to do with some custom JS.

Create a ./components/com_fabrik/js/list_X.js file (replace X with your numeric list ID).

Code:
setTimeout(
   function() {
      window.location.reload(1);
   } ,
   30000
);

... should reload it every 30 second.

If you have enabled AJAX navigation on your list, you could do ...

Code:
Fabrik.getBlock('list_X').updateRows();

... instead of the window.location.reload(), which would do an AJAX refresh of the list. Again, replace X with list ID.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top