Results 1 to 2 of 2

Thread: DwtSelect with many options is very slow

  1. #1
    Join Date
    Dec 2009
    Posts
    1
    Rep Power
    6

    Default DwtSelect with many options is very slow

    I use a DwtSelect that contains roughly 60 DwtSelectOptions (user is selecting their age). There is a very distinct delay (a few seconds) before the popup for the options will appear.

    It seems to be equally slow on both Firefox and IE (7).

    Is this a characteristic of DwtSelectOption, or am I doing something wrong/inefficient??

    Code fragment below:

    Code:
    var options = [];
    var firstYear = (new Date()).getFullYear()-12;
    if (select_one) {
    	options[options.length] = new DwtSelectOption("", true, "Select one");
    }
    for (var i=60; i > 0; i--) {
          options[options.length] = new DwtSelectOption(firstYear + "", false, firstYear + "");
    	firstYear = firstYear -1 ;
    }
    options[options.length] = new DwtSelectOption(firstYear + "", false, firstYear + " or before");
    return new DwtSelect({parent:parent.getShell(), options:options});

  2. #2
    Join Date
    Oct 2010
    Location
    UK
    Posts
    53
    Rep Power
    5

    Default

    Hi , i am also trying to have a DwtSelect where at moment there is "notes" field in contact panel.
    Could you tell me how to go about it ? thanks a lot

Similar Threads

  1. Slow Sending Messages with Zimbra?
    By Diranged in forum Administrators
    Replies: 5
    Last Post: 08-22-2010, 02:51 AM
  2. slow performance with IE7
    By tiger2000 in forum Users
    Replies: 1
    Last Post: 05-07-2009, 10:48 AM
  3. Zimbra admin running VERY slow after upgrade
    By aBs0lut3-z3r0 in forum Administrators
    Replies: 6
    Last Post: 04-25-2008, 10:13 AM
  4. need to run JBoss AOP... HELP with JVM options!!!
    By u268 in forum Administrators
    Replies: 0
    Last Post: 03-16-2008, 03:13 AM
  5. Modifying ZCO options
    By davidfsmith in forum Zimbra Connector for Outlook
    Replies: 1
    Last Post: 01-10-2008, 08:12 PM

Posting Permissions

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