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

Autopaging causes flickering of list

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.3
    • 7.0.2
    • Components
    • Security Level: Jimmy
    • ZK EE. Reproduced in Chrome, Safari, Internet Explorer and Firefox on Mac OS and Windows.

      When creating a listbox with autopaging, the list will start flickering when coming across certain pages. As an example please use the code below (or look at ZK Fiddle: http://zkfiddle.org/sample/3udh5p2/1-paging-with-different-size-in-row):

      index.zul
       <zk>
      <borderlayout   height="500px">
          <north height="100px" >
              <div style="background:#E6D92C" vflex="1">
                  <label value="north"    style="color:white;font-size:50px" />
              </div>
          </north>
          <center >
      <listbox id="lstResults" context="resultGridContextMenu" mold="paging" vflex="true" hflex="1" autopaging="true" multiple="true">
                 <listhead id="lstHead" sizable="true"   >
                      <listheader id = "COL_1" width="200px" label="Column 1"  />
                      <listheader id = "COL_2" width="275px" label="Column 2"/>
                  </listhead>
      
      <listitem><listcell label="(Arachis hypogaea+Cow milk+Egg white+Gadus morhua+Glycine max+Triticum aestivum) Ab.IgE" /><listcell label="Food Allergen Mix 5 (Peanut+Cow milk+Egg white+Cod+Soybean+Wheat) IgE Ab [Presence] in Serum by Multidisk" /> </listitem>
      <listitem><listcell label="(Arachis hypogaea+Cow milk+Egg white+Gadus morhua+Glycine max+Triticum aestivum) Ab.IgE" /><listcell label="Food Allergen Mix 5 (Peanut+Cow milk+Egg white+Cod+Soybean+Wheat) IgE Ab [Units/volume] in Serum by Multidisk" /> </listitem>
      <listitem><listcell label="(Arachis hypogaea+Cow milk+Egg white+Gadus morhua+Glycine max+Triticum aestivum) Ab.IgE.RAST class" /><listcell label="Food Allergen Mix 5 (Peanut+Cow milk+Egg white+Cod+Soybean+Wheat) IgE Ab RAST class [Presence] in Serum by Multidisk" /> </listitem>
      <listitem><listcell label="(Arachis hypogaea+Cow milk+Egg white+Glycine max+Triticum aestivum) Ab.IgE" /><listcell label="Food Allergen Mix A (Peanut+Cow milk+Egg white+Soybean+Wheat) IgE Ab [Presence] in Serum by Multidisk" /> </listitem>
      <listitem><listcell label="(Arachis hypogaea+Cow milk+Egg white+Glycine max+Triticum aestivum+Oryza sativa) Ab.IgE" /><listcell label="Food Allergen Mix 7A (Peanut+Cow milk+Egg white+Soybean+Wheat+Rice) IgE Ab [Units/volume] in Serum by Multidisk" /> </listitem>
      <listitem><listcell label="(Arachis hypogaea+Cow milk+Egg white+Mustard) Ab.IgE" /><listcell label="Food Allergen Mix 26 (Peanut+Cow milk+Egg white+Mustard) IgE Ab [Presence] in Serum by Multidisk" /> </listitem>
      <listitem><listcell label="(Arachis hypogaea+Cow milk+Egg white+Mustard) Ab.IgE" /><listcell label="Food Allergen Mix 26 (Peanut+Cow milk+Egg white+Mustard) IgE Ab [Units/volume] in Serum by Multidisk" /> </listitem>
      <listitem><listcell label="(Beef+Chicken meat+Egg yolk+Pork+Turkey meat) Ab.IgE" /><listcell label="Food Allergen Mix 10 (Beef+Chicken meat+Egg yolk+Pork+Turkey meat) IgE Ab [Presence] in Serum by Multidisk" /> </listitem>
      <listitem><listcell label="About how often did you eat eggs, fried or scrambled in margarine, butter, or oil in past 12 Mo" /><listcell label="About how often did you eat eggs, fried or scrambled in margarine, butter, or oil in past 12 months [PhenX]" /> </listitem>
      <listitem><listcell label="Donated egg" /><listcell label="Donated egg [Presence]" /> </listitem>
      <listitem><listcell label="Egg white Ab.IgE" /><listcell label="Egg white IgE Ab [Units/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg white Ab.IgE" /><listcell label="Egg white IgE Ab [Ratio] in Serum" /> </listitem>
      <listitem><listcell label="Egg white Ab.IgE.RAST class" /><listcell label="Egg white IgE Ab RAST class [Presence] in Serum" /> </listitem>
      <listitem><listcell label="Egg white Ab.IgG" /><listcell label="Egg white IgG Ab [Mass/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg white Ab.IgG" /><listcell label="Egg white IgG Ab [Presence] in Serum" /> </listitem>
      <listitem><listcell label="Egg white Ab.IgG" /><listcell label="Egg white IgG Ab [Units/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg white Ab.IgG.RAST class" /><listcell label="Egg white IgG Ab RAST class [Presence] in Serum" /> </listitem>
      <listitem><listcell label="Egg white Ab.IgG4" /><listcell label="Egg white IgG4 Ab [Units/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg white Ab.IgG4" /><listcell label="Egg white IgG4 Ab [Mass/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg white Ab.IgG4.RAST class" /><listcell label="Egg white IgG4 Ab RAST class [Presence] in Serum" /> </listitem>
      <listitem><listcell label="Egg white basophil bound Ab" /><listcell label="Egg white triggered histamine release [Units/volume] in Blood" /> </listitem>
      <listitem><listcell label="Egg white leukotriene release" /><listcell label="Egg white triggered leukotriene release [Mass/volume] by Leukocytes" /> </listitem>
      <listitem><listcell label="Egg whole Ab.IgE" /><listcell label="Whole Egg IgE Ab [Ratio] in Serum" /> </listitem>
      <listitem><listcell label="Egg whole Ab.IgE" /><listcell label="Whole Egg IgE Ab [Units/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg whole Ab.IgE.RAST class" /><listcell label="Whole Egg IgE Ab RAST class [Presence] in Serum" /> </listitem>
      <listitem><listcell label="Egg whole Ab.IgG" /><listcell label="Whole Egg IgG Ab [Mass/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg whole Ab.IgG" /><listcell label="Whole Egg IgG Ab [Units/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg whole Ab.IgG4" /><listcell label="Whole Egg IgG4 Ab [Mass/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg whole basophil bound Ab" /><listcell label="Whole Egg triggered histamine release [Units/volume] in Blood" /> </listitem>
      <listitem><listcell label="Egg yolk Ab.IgE" /><listcell label="Egg yolk IgE Ab [Units/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg yolk Ab.IgE" /><listcell label="Egg yolk IgE Ab [Ratio] in Serum" /> </listitem>
      <listitem><listcell label="Egg yolk Ab.IgE.RAST class" /><listcell label="Egg yolk IgE Ab RAST class [Presence] in Serum" /> </listitem>
      <listitem><listcell label="Egg yolk Ab.IgG" /><listcell label="Egg yolk IgG Ab [Mass/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg yolk Ab.IgG" /><listcell label="Egg yolk IgG Ab [Units/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg yolk Ab.IgG.RAST class" /><listcell label="Egg yolk IgG Ab RAST class [Presence] in Serum" /> </listitem>
      <listitem><listcell label="Egg yolk Ab.IgG4" /><listcell label="Egg yolk IgG4 Ab [Mass/volume] in Serum" /> </listitem>
      <listitem><listcell label="Egg yolk basophil bound Ab" /><listcell label="Egg yolk triggered histamine release [Units/volume] in Blood" /> </listitem>
      <listitem><listcell label="Egg yolk leukotriene release" /><listcell label="Egg yolk triggered leukotriene release [Mass/volume] by Leukocytes" /> </listitem>
      <listitem><listcell label="How many times in the last Y have you begged for money or things from strangers" /><listcell label="How many times in the last year have you begged for money or things from strangers [PhenX]" /> </listitem>
      <listitem><listcell label="Taenia sp eggs" /><listcell label="Taenia sp eggs [Presence] in Stool by DNA probe" /> </listitem>
      <listitem><listcell label="Taenia sp eggs" /><listcell label="Taenia sp eggs [Presence] in Stool by Probe and target amplification method" /> </listitem>       
      
      
      </listbox>
          </center>
          <south  height="100px" >
              <div style="background:#E6D92C" vflex="1">
                  <label value="south"    style="color:white;font-size:50px" />
              </div>
          </south>
      
      </borderlayout>
      </zk>
      

      Please run that code and go through the pages one by one until you reach page number 5; this is when the flickering starts to show. Please also see the screenshots below.

            JerryChen JerryChen
            straucha straucha
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: