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

Listbox in boarder layout with autopaging and odd size data rows causes constant row flickering

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 7.0.2
    • None

      I'm using ZK 7.02 and have problem with a listbox. The listbox is in a border layout using vflex="1" and autopage. However, with certain data sets the autopaging seems to get confused and can't settle on the correct number of rows. It seems to be related to having rows of various sizes.

      Here's some ZUL that you can put in the sandbox to reproduce the problem. Seems to happen most often if you load the page then go to the last page and start clicking previous page.

      This happens in all browsers that I have tried: IE, Chrome, Firefox.

      <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" PagingPosition="top" autopaging="true"  vflex="1">
                 <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>
      

            Unassigned Unassigned
            jhook jhook
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: