sencha touch中如何获取list Template项的值?

How to get the value of the item of list Template in sencha touch?

我使用了如下列表。

xtype: 'list',
layout: 'fit',
activeItem: 0,
store: {
    fields:['imageUrl','name','status'],
    data: [{
        imageUrl: 'arrow.png',
        name:'IMG23',
        status:'p'
    }, {
        imageUrl: 'arrow2.png',
        name: 'IMG20',
        status: 'P'
    }]
},

现在我想将 imageUrl 的值存储在一个变量中。 我正在使用 var URL = {imageUrl[0]};,但它不起作用。

假设变量 store 引用了您的商店,您可以这样做

variable URL = store.getAt(0).get('imageUrl') 

看说明书: http://docs.sencha.com/extjs/4.2.2/?mobile=/api/Ext.data.Store#method-getAt