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

Resizable listbox problem when changing colums visibility and size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 7.0.2, 7.0.3
    • ZK Client Engine
    • Linux:Google Chrome 39 /Firefox 34, Mac OS X Yosemite: Safari

      Hello zk team

      Updating to ZK 7 i discovered this bug:

      Unable to make visible, again the first column of a listbox after resizing the last one.

      With this test zul (based on the zk sandbox: 'Listbox controls with checkmarks'):

      <zk>
      <button label="Hide-Show" onClick="h.visible = !h.visible"/>
      <listbox id="box" >
      <listhead sizable="true">
      <listheader id="h" label="Name"/>
      <listheader label="Gender"/>
      <listheader label="Age"/>
      <listheader label="Description"/>
      </listhead>
      <listitem>
      <listcell label="Mary"/>
      <listcell label="FEMALE"/>
      <listcell label="18"/>
      <listcell label="A young lady."/>
      </listitem>
      <listitem>
      <listcell label="John"/>
      <listcell label="MALE"/>
      <listcell label="20"/>
      <listcell label="A college student."/>
      </listitem>
      <listitem>
      <listcell label="Jane"/>
      <listcell label="FEMALE"/>
      <listcell label="32"/>
      <listcell label="A remarkable artist."/>
      </listitem>
      <listitem>
      <listcell label="Henry"/>
      <listcell label="MALE"/>
      <listcell label="29"/>
      <listcell label="A graduate."/>
      </listitem>
      </listbox>
      </zk>

      Do this:

      • Press 'Hide-Show', the first column hides
      • Resize 'Age' column
      • Press 'Hide-Show'. Now it's imposible to see the first column again!!!

      regards

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

              Created:
              Updated: