1. #1
    Touch Premium Member
    Join Date
    Jul 2011
    Location
    Helsinki, Finland
    Posts
    71
    Vote Rating
    0
    kortsi is on a distinguished road

      0  

    Default 4.1 RC3: pageSize cannot be dynamically altered

    4.1 RC3: pageSize cannot be dynamically altered


    I took the 4.1 RC3 and tested it with my apps. Most of my apps change the data store page size to match the physical size of the grid shown. This worked in 4.0, but 4.1 throws an exception:

    Code:
    Uncaught Ext.Error: pageSize cannot be dynamically altered
    How should I alter the page size in 4.1? I want the grid to show just as many rows as fits in the browser window...

    By the way, there's a typo in data/Store.js:

    Code:
    Ext.error.raise("pageSize cannot be dynamically altered");
    I suppose that should read:

    Code:
    Ext.Error.raise("pageSize cannot be dynamically altered");

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,912
    Vote Rating
    443
    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


    How are you changing the size to get this error?

    Regards,
    Scott.

  3. #3
    Touch Premium Member
    Join Date
    Jul 2011
    Location
    Helsinki, Finland
    Posts
    71
    Vote Rating
    0
    kortsi is on a distinguished road

      0  

    Default


    Quote Originally Posted by scottmartin View Post
    How are you changing the size to get this error?
    Just by calculating a suitable number from the grid component's height and then:

    Code:
    store.pageSize = numberOfRows;
    store.load();

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