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 User skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,341
    Vote Rating
    248
    skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of

      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
    181
    Vote Rating
    50
    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

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