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

The size of detail is wrong when first column invisible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 7.0.1
    • 7.0.0
    • None
    • Security Level: Jimmy
    • None
    • None

      as code below, click "Click here to open Detail" to see this issue.

      <zk xmlns="http://www.zkoss.org/2005/zul"
      	 xmlns:h="http://www.w3.org/1999/xhtml"
      	 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      	 xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">
      
      	<groupbox hflex="1" vflex="1" >
      		<caption label="Detail colspan incorrect"/>
      		<grid hflex="1" vflex="1" >
      			<columns sizable="true">
      				<column label="Detail" visible="false"/>
      				<column label="1"/>
      				<column label="2"/>
      				<column label="3"/>
      			</columns>
      			<rows>
      				<row onClick="detail.setOpen(!detail.isOpen());">
      					<detail id="detail">
      						<div hflex="1" height="100px" style="background-color: #0092D2;" />
      					</detail>
      					<label value="Click here to open Detail"/>
      					<label value="2"/>
      					<label value="3"/>
      				</row>
      			</rows>
      		</grid>
      
      	</groupbox>
      
      
      </zk>
      
      

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

              Created:
              Updated:
              Resolved: