Hello..

I am using sencha archiect 2.2.2 and the latest version of sencha touch 2.2.X.
Can I define xtemplate merber function to format text or other purpose..?
I created a Xtemplate member function with the "+" button in the Property window, but it's doesn't works.

Please, can I help me?

View

Code:
Ext.define('SuperPromo.view.promocion.List', {
    extend: 'Ext.dataview.List',
    alias: 'widget.promocionlist',


    config: {
        id: 'promocionList',
        emptyText: 'Loading promociones...',
        store: 'Promociones',
        itemTpl: Ext.create('Ext.XTemplate', 
            '<div class="some-class">',
            '            <span>{[this.toUpper(values.TextField)]}%</span>',
            '</div>',
            {
                toUpper: function(text) {
                      return "SomeText"

                },
                disableFormats: true
            }
        )
    }


});

Thanks!