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

setVisible(false) of listitem is not work if the height of listbox is specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.9
    • 5.0.7.1
    • None
    • None

      as code below,
      1. click 'hide list item' button
      2. click 'hide list cell' button
      3. click 'hide div' button

      the content still visible
      click 'hide list cell' or 'hide div' directly is ok.

      <zk>
      	<listbox height="100px">
      		<listitem id="li">
      			<listcell id="lc" label="list cell">
      				<div id="div">div</div>
      			</listcell>
      		</listitem>
      	</listbox>
      	<button label="hide list item">
      		<attribute name="onClick">
      			li.setVisible(false);
      		</attribute>
      	</button>
      	<button label="hide list cell">
      		<attribute name="onClick">
      			lc.setVisible(false);
      		</attribute>
      	</button>
      	<button label="hide div">
      		<attribute name="onClick">
      			div.setVisible(false);
      		</attribute>
      	</button>
      </zk>

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

              Created:
              Updated:
              Resolved: