Timer

Hi There. Is there a way i can set a message to pop up every 60 seconds.
I tried using the delay option but cant seem to reset the delay after it’s auctioned.
Kind Regards

The only way is to use a native JS methodsetInterval:

setInterval(function(){ webix.message("Alert") }, 60000)

Thank you very mutch

Hi. I get other functions to work with the timer. I need my table to refresh with data. The datatable is linked to a var that calls a servlet via ajax.
http://webix.com/snippet/36cb72bc
I’m not getting it to update with new data. i also tried changing it to an url pointing to the servlet.

You can use the callback function to load the data:

webix.ajax("script.php", function(text, data){
  datatable.clearAll(); // if you need to parse the new dataset
  datatable.parse(data.json())
});

Thank you. it works perfectly.