1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    55
    Vote Rating
    0
    srxx123 is on a distinguished road

      0  

    Default Grid panel with paging toolbar and linked class

    Grid panel with paging toolbar and linked class


    Hi,

    I have defined a grid panel with a paging toolbar in a SA project as top level component (class).
    Then I have created to linked instances to this class. The problem is, that the paging toolbar of both instances is now bound to the store which is defined in the top level class and it seems that I cannot override the toolbar store in the linked instances.

    How can I solve this problem?

    Thank you

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,572
    Vote Rating
    309
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    I'm not entirely following the question but it sounds to me like this is more an Architect question than an ExtJS question so I'm going to move this thread.

  3. #3
    Sencha User loiane's Avatar
    Join Date
    Aug 2009
    Posts
    183
    Vote Rating
    52
    loiane is a jewel in the rough loiane is a jewel in the rough loiane is a jewel in the rough

      0  

    Default


    Yes you can.
    Just select the toolbar in your grid you want to override the store, and set the value you want

    Like this:

    PHP Code:
    dockedItems: [                {                    xtype'mypagingtoolbar',                    dock'left',                    store'MyJsonStore'                }            ] 
    Sencha/Java evangelist
    Author of ExtJS 4 First Look and Mastering Ext JS books
    English blog: http://loianegroner.com
    Portuguese blog: http://loiane.com
    Sencha Examples: https://github.com/loiane

Thread Participants: 2

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