For programmers, testers and tech geeks

Extjs, how to implement delay

In order to use delay functionality in extjs, you must create Ext.util.DelayedTask object and use its delay method which takes span of time to be delayed in miliseconds, i.e.

Following is an example of using delay functionality in extjs:

var task = new Ext.util.DelayedTask(function(){

Ext.get('myInputField').on('keypress', function(){