Results 1 to 2 of 2

Thread: How to talk to editorgrid in active tab

  1. #1
    Sencha User
    Join Date
    Aug 2009
    Location
    Tamworth, NSW, Australia
    Posts
    32

    Question How to talk to editorgrid in active tab

    I've tried searching the ends of google for a solution but came up with nothing. One thing I did find was to try this:

    var grid = tabs.getActiveTab().findByType("editorgrid");

    but it just returns nothing, and I've been banging my head against the monitor for ages now to try to find the editor grid within the active tab and gotten nowhere. So, how do I find, and get access to talk to, an editorgrid within the active tab?

    Thanks. I bought "Learning ExtJS" but it's a bit thin on the ground when it comes to things that aren't just adding a listener as you create the grid.

  2. #2
    Sencha User
    Join Date
    Aug 2009
    Location
    Tamworth, NSW, Australia
    Posts
    32

    Default

    Turns out my call to getActiveTab() was already returning a handle to the grid because the tab IS an EditorGridPanel. All that time I spent trying to find out why I couldn't find the grid beneath the tab and I had it all along :-) And it took a tweet from a priest in Tennessee to point that out on Twitter. Hope this helps somebody one day.

Similar Threads

  1. Save layout AND active tab of collapsable tab panel
    By markalroberts in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 24 Jun 2013, 5:38 AM
  2. [noob] How do you set the active item/tab in a tab panel?
    By orangechicken in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 1 Dec 2011, 12:08 AM
  3. Replies: 2
    Last Post: 13 Aug 2008, 2:20 AM

Posting Permissions

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