View Full Version : extjs threading using ext.ajax.request to every 1 minute

11 Jun 2013, 9:04 PM
hi every one ,

i have a treepanel . in treepanel data update every 1 minute . i want to send request to database every one minute. (This can be done using delayedTask or taskManage). which one is better solution.

i am using Ext.ajax.request . how to setinterval .

11 Jun 2013, 10:16 PM
That's not the correct usage of delayedTask.

delayedTask is to "buffer" the task and NOT repeat it.

So use taskManager or simply setInterval()