-
16 Oct 2012 4:44 AM #1
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
-
16 Oct 2012 9:58 AM #2
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.
-
16 Oct 2012 11:37 AM #3
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


Reply With Quote