Rendering Templates in Ext JS – So Many Choices | JavaScript for Line of Business Applications | Scoop.it

Ext JS 4.0 provides a number of ways for custom components to render their HTML content for display:

autoEl, html, tpl/data, renderTpl/renderData

As I have been learning Ext JS, I have often struggled with knowing which technique is the correct one in a given situation. Here I will briefly discuss the different ways of specifying content, followed by some thoughts on when you might want to use them.