sencha list paging plugin

前端 未结 5 1576
渐次进展
渐次进展 2021-02-10 06:38

I\'m trying to use sencha touch\'s listpaging plugin. But there is almost no good( or bad ) documentation about how to use it and i\'m confused.

When i activate the plu

5条回答
  •  野性不改
    2021-02-10 07:28

    Just to add what worked for me..

    If your server returns a totalCount and you want to set it you can use the totalProperty in the reader

    reader: {
                type: 'json',
                rootProperty: 'results',
                totalProperty: 'resultCount'
            }
    

提交回复
热议问题