Auto Refresh the List in Sencha Touch Application
I am developing an simple Chat Application, I can view the updated data when I click on the REFRESH Button, BUT can I refresh the data at a regular interval from the Server (as my Chat is getting Stored in the Database remotely) Thanks in advance. Use DelayedTask class of Sencha Touch: //create the delayed task instance with our callback var task = Ext.create('Ext.util.DelayedTask', function() { //load the list's store here. The list will be automatically updated listComp.getStore().load(); // Assuming your list component is "listComp" listComp.refresh(); // The task will be called after each