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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.7.1
    • Fix Version/s: 5.0.9
    • Component/s: None
    • Labels:
      None

      Description

      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>

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: