1. #1
    Sencha User
    Join Date
    Jul 2010
    Posts
    4
    Vote Rating
    0
    smulange is on a distinguished road

      0  

    Default Gridpanel inside tabpanel loading slow

    Gridpanel inside tabpanel loading slow


    1. I have a tab-panel with two tabs
    2. First tab contains few text-boxes and other fields
    3. Second tab contains gridpanel with more than 2500 rows

    Issue is whenever I try to switch from first tab to second tab it freezes for 3-4 seconds, I want to reduce this time

    Following is the code:

    this.tab1 = new Ext.Panel({
    border: false,
    title: 'Title',
    layout: 'tableform',
    layoutConfig: { columns: 2 },
    defaults: { layout: 'form', autoHeight: true, autoWidth: true },
    items: [col4, col3]
    });

    this.tab2 = Ext.apply(mygrid, { title: 'Title', closable: false });


    var tabItems = [];
    tabItems.push(this.tab1);
    tabItems.push(this.tab2);

    this.tabPanel = new Ext.TabPanel({
    layoutOnTabChange: true,
    items: tabItems,
    deferredRender: false,
    activeTab: 0
    });

    any suggestions are wel-come

    Thank you.

  2. #2
    Ext JS Premium Member twaindev's Avatar
    Join Date
    Sep 2009
    Posts
    223
    Vote Rating
    3
    twaindev is on a distinguished road

      0  

    Default


    2500 rows seems too much to me, but have you tried setting layoutOnTabChange to false?

  3. #3
    Sencha User
    Join Date
    Jul 2010
    Posts
    4
    Vote Rating
    0
    smulange is on a distinguished road

      0  

    Default


    Yes I did tried setting layoutOnTabChange: false, but no change in performance

    Thanks

Thread Participants: 1

Tags for this Thread

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