1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    66
    Vote Rating
    0
    shr1975 is on a distinguished road

      0  

    Default Grid paging without the 'totalProperty' attribute.

    Grid paging without the 'totalProperty' attribute.


    Hi,

    Is there any way to achieve paging on a grid without having to use the 'totalProperty' attribute? Our server code fetches the total count of rows only under certain conditions.

  2. #2
    Ext User
    Join Date
    Oct 2007
    Posts
    66
    Vote Rating
    0
    shr1975 is on a distinguished road

      0  

    Default


    This is required since there may be cases where the total count of rows may not be known.

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    You'll have to override some methods in PagingToolbar, or subclass it to make it not care about what the Store's getTotalCount returns, and have it fill in that value when it reads a page which returns with less than "pageSize" rows in.

  4. #4
    Ext User
    Join Date
    Oct 2007
    Posts
    66
    Vote Rating
    0
    shr1975 is on a distinguished road

      0  

    Default


    Which methods in PagingToolbar will I have to override?

    Could you please give me a code sample?

  5. #5
    Ext User
    Join Date
    Oct 2007
    Posts
    66
    Vote Rating
    0
    shr1975 is on a distinguished road

      0  

    Default


    Hi Animal,

    Could you please provide me with some more information/code samples on how to achieve this?


    Thanks.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi