How to access the view from within dataview's tpl in ExtJS6?
<p>I am trying to test against a combobox value from inside dataview's tpl:</p>

<pre><code>Ext.define('MyForm', {
    extend: 'Ext.form.Panel',
    items: [
        {
            xtype: 'combo',
            name: 'my_combo',
        },
        {
            xtype: 'dataview',
            tpl: new Ext.XTemplate(
                '&lt;tpl for="."&gt;',
                    '&lt;tpl if="this.test()"&gt;pass&lt;/tpl&gt;',
                '&lt;/tpl&gt;'
            , 
            {
                test: function(){
                    //doesn't work
                    return this.getView().down('[name=my_combo]').getValue() == 'ok';
                }
            }),
        }
    ]
});
</code></pre>

<p>This doesn't work because <code>this</code> is referencing to the template itself and I can't figure out how to access the view from the inside.</p>