Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2216

Performance issue of Listbox and Combobox with inplace="true"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.2
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      Reproduce:
      Use test.zul and TestVM.java attached, it is very slow when page loading.

      Cause:
      syncWidth of Combobox (with inplace="true") costs lots of time in Listbox.

      Workaround:
      Override syncWidth to reduce loading time, see test.zul in workaround.zip attached.

      Edit:

      Previous workaround still a bit slow and may cause some side effects, update to fix for this case only.
      Please refer to test.zul in workaround_20140325.zip attached.

        Attachments

        1. reproduce.zip
          0.9 kB
        2. workaround_20140325.zip
          0.8 kB
        3. workaround.zip
          1 kB

          Activity

            People

            • Assignee:
              jumperchen jumperchen
              Reporter:
              benbai benbai
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: