0
votes

Is it possible to integrate Ext.js pull to refresh plugin with Ext.DataView component ?

1

1 Answers

0
votes

Sure,

There is even a example within Sencha Touch Docs.

http://docs.sencha.com/touch/2.3.1/#!/api/Ext.dataview.DataView-cfg-plugins

Example:

Ext.create('Ext.dataview.List', {
    config: {
        plugins: [
            {
                xclass: 'Ext.plugin.PullRefresh',
                pullRefreshText: 'Pull to refresh...'
            }
        ],

        itemTpl: '<div class="item">{title}</div>',
        store: 'Items'
    }
});