Results 1 to 3 of 3

Thread: ID of a store

  1. #1

    Question ID of a store

    Hello, i create multiple stores each time the user clicks on the navigation tree. I wish to create them with a dynamic id so that i get them back to do stuff on them with Ext.getCmp('id');
    How can I do that ?
    Thx

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    Ext.id()?

    Why are you trying ot use Ext.getCmp()? Why not create a reference to the store itself?

  3. #3
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    If you plan on persuing this, use Ext.StoreMgr.get('storeId'). Ext.getCmp will not return stores as ComponentMgr does not track stores.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •