1. #1
    Ext User
    Join Date
    Jan 2008
    Posts
    10
    Vote Rating
    0
    chamlie is on a distinguished road

      0  

    Question Can Grouptabpanel load items by clicking each session?

    Can Grouptabpanel load items by clicking each session?


    Hi all,

    I have developed a menu by using grouptabpanel

    Session A
    -> A1
    -> A2
    -> A3
    Session B
    -> B1
    -> B2
    ...etc

    Each session will retrieve the database once and response the data to the corresponding session.

    However, when using the grouptabpanel, all the sessions are sending requests to database and the loading time will become extremely long.

    Is there any way to use onClick event on the grouptabpanel session to retrieve the data instead loading all of the data in the sessions?

    Sory for poor English and thanks for any help.

  2. #2
    Sencha User
    Join Date
    Sep 2009
    Location
    Calgary, Alberta, Canada
    Posts
    638
    Vote Rating
    2
    CrazyEnigma is on a distinguished road

      0  

    Default


    The answer is that it is possible, but only you can determine if you have designed it properly. When you say that the data loading will be extremely long, you may want to reconsider your strategy. You will want to employ paging techniques that are available in the EXT JS framework. onClick would actually be the click listener and you may want to look into the load() method on the Ext.data.Store.

Similar Threads

  1. ListView - Selecting items by clicking and dragging the mouse
    By Algiano in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 14 Sep 2009, 8:51 AM
  2. Replies: 1
    Last Post: 12 Aug 2009, 12:31 PM
  3. Session will be destroyed after clicking on a link in IE 8 (Java) (FIX)
    By chrizmaster in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 13 May 2009, 3:12 AM
  4. Ext 3.0 -> Load archive in grouptabpanel
    By Rafael in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 17 Apr 2009, 8:31 PM
  5. Ext 3.0 -> Load archive in grouptabpanel
    By Rafael in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 17 Apr 2009, 8:31 PM

Thread Participants: 1

Tags for this Thread