TabPanel mainbody.dom

  1. #1

    TabPanel mainbody.dom

    Hi,

    I have a tabpanel and in each tab I have placed a gridpanel. When the store of the gridpanel is empty, so when there are no rows to display, i don't have a problem. But when there are rows i get a javascript error:


    this.mainBody.dom is null or not an object




    hasRows:function(){var fc=this.mainBody.dom.firstChild;return fc&&fc.nodeType==1&&fc.className!= 'x-grid-empty';}

    Please help.

    Thanx in advance

    Birgit.
  2. #2

    RE: TabPanel mainbody.dom

    Hi,

    Try to set DeferRender="false" for TabPanel
  3. #3

    RE: TabPanel mainbody.dom

    Thanks a lot !

Similar Threads

  1. [CLOSED] Ext.Net's tabpanel and ExtJs tabpanel anchor
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 21, 2011, 11:57 AM
  2. [1.0]TabPanel--Bug????
    By Dragon in forum 1.x Help
    Replies: 1
    Last Post: Apr 02, 2010, 9:47 PM
  3. Replies: 3
    Last Post: Aug 21, 2009, 2:24 PM
  4. Get TabPanel ActiveTab inside Other TabPanel.
    By grmontero in forum 1.x Help
    Replies: 1
    Last Post: Jul 16, 2009, 11:45 AM
  5. [CLOSED] Tabpanel in tabpanel from code behind
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 29, 2008, 7:56 AM

Posting Permissions