1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    235
    Vote Rating
    0
    chandan.behura is on a distinguished road

      0  

    Default limt of pagination

    limt of pagination


    Hi,

    Where to set the limit of the pagination.

    Code:
    dockedItems: [{
                   xtype: 'pagingtoolbar',
                   store: 'ResultGrid',   // same store GridPanel is using
                   dock: 'bottom',
                   displayInfo: true,
                   pageSize:10,
                   displayMsg: 'Displaying topics {0} - {1} of {2}',
                   emptyMsg: "No topics to display",
               }
    where to include:

    this.getResultGridStore().load({
    params:{
    start:0,
    limit: 10
    }
    });

    in a MVC str.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,636
    Vote Rating
    400
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Set the pageSize in the toolbar and in the store. Make sure your server response included the total records so it can calculate the pages: ex: totalProperty: 'total'

    Scott.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar