I would like to build a search function which needs an auto-complete feature.
I would try this : http://dev.sencha.com/deploy/ext-4.1...um-search.html

But I am still not getting how it works exactly.
Where is the variable that should be containing the first 4 letters to send them to php script ?
Also could anyone explain this part of code ?

  // Custom rendering template for each itemgetInnerTpl: function() {return '<a class="search-item" href="http://www.sencha.com/forum/showthread.php?t={topicId}&p={id}">' + '<h3><span>{[Ext.Date.format(values.lastPost, "M j, Y")]}<br />by {author}</span>{title}</h3>' + '{excerpt}' + '</a>';                }