1. #1
    Sencha User
    Join Date
    Mar 2011
    Location
    Germany
    Posts
    9
    Vote Rating
    0
    JaSoEIGHT is on a distinguished road

      0  

    Default Suppress Request for TabPanel children

    Suppress Request for TabPanel children


    Hi there,

    i have a problem with the tree panel and loading content via an ajax request. In order to understand my problem, I would like to outline the structure of my application.

    At the top is a view port with the layout type "border". This contains a panel on the north region and a tab panel on center. The tab panel has two tabs. Each tab has a border layout type. On the west region is a tree panel and on center some grid views. The problem is the TreePanel. Both tabs has a tree panel to display a navigation. Both use the Ext.data.TreeStore to load a json via ajax proxy, that returns the nodes.

    The problem is when creating the application and rendering the first tab, that already both requests were fired. And because the second tab is not shown, I always get an error message: me.view.el is undefined

    The following settings I have already tried
    - add defaults: {autoRender: false} to tabpanel
    - add autoLoad: false, to Ext.data.TreeStore

    Nothing works.

    An additional information: I always define classes. each tab, each panel, each tree, each item is a class. Any idea or any suggestion?

    Thanks.

  2. #2
    Sencha User
    Join Date
    Mar 2011
    Location
    Germany
    Posts
    9
    Vote Rating
    0
    JaSoEIGHT is on a distinguished road

      0  

    Default


    Very strange behavior:

    I add the config parameter "activeItem" and set the value to "1" and i do not get an error anymore. Is the value "0" or anything else, i will get the error.

    In addition, the first tab is still active (item 0), even if the value is set to 1.

Similar Threads

  1. Avoid children load when children allready loaded in TreePanel
    By zopinto in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 12 Aug 2010, 7:52 AM
  2. How to suppress showLoading state?
    By dante in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 13 May 2010, 11:11 AM
  3. TreeStore Suppress Events
    By yogu13 in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 24 Mar 2010, 8:03 AM
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi