title: Sencha Touch 2 : Adding a css class dynamically to a div inside a template
body: <p>Lets assume i have a dataview with the following itemTpl</p>
  
  <pre><code>        itemTpl: [
          '&lt;div class="category_entry_inner"&gt;',
          '    &lt;div class="category_right"&gt;',
          '        &lt;div class="category_quantity"&gt;{catQty}&lt;/div&gt;',
          '    &lt;/div&gt;',
          '    &lt;div class="category_left"&gt;',
          '        &lt;div class="category_left_content"&gt;',
          '            &lt;div class="category_left_icon"&gt;&lt;/div&gt;',
          '            &lt;div class="category_left_text"&gt;{catName}&lt;/div&gt;',
          '        &lt;/div&gt;',
          '    &lt;/div&gt;',
          '&lt;/div&gt;'
      ],
  </code></pre>
  
  <p>Now what I would like to do is hook to the dataview refresh event and when fired select all divs that have a cass of category_entry_inner and add a simple class (.someclass{background:red}) to all those divs. </p>