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

Tree header and content misaligned if contains invisible columns

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.3
    • 7.0.2
    • Components
    • Security Level: Jimmy
    • None

      <zk>
      	<zscript>
      	Object[] obj = new Object[50];
      	</zscript>
      	<button label="show1" onClick="c1.setVisible(true)" />
      	<button label="show3" onClick="c3.setVisible(true)" />
      	<div height="550px" width="700px">
      		<tree id="myTreeA" vflex="1" hflex="1">
      			<treecols sizable="true">
      				<treecol label="c0" id="c0" hflex="2" />
      				<treecol label="c1" id="c1" hflex="1" visible="false" />
      				<treecol label="c2" id="c2" hflex="1" />
      				<treecol label="c3" id="c3" hflex="1" visible="false" />
      				<treecol label="c4" id="c4" hflex="1" />
      			</treecols>
      			<treechildren>
      				<treeitem forEach="${obj}" open="false">
      					<treerow>
      						<treecell label="Row A ${forEachStatus.index}" />
      						<treecell label="0.0" />
      						<treecell label="0.0" />
      						<treecell label="0.0" />
      						<treecell label="0.0" />
      					</treerow>
      					<treechildren>
      						<treeitem>
      							<treerow>
      								<treecell
      									label="Row A ${forEachStatus.index} X" />
      								<treecell label="0.0" />
      								<treecell label="0.0" />
      								<treecell label="0.0" />
      								<treecell label="0.0" />
      							</treerow>
      						</treeitem>
      						<treeitem>
      							<treerow>
      								<treecell
      									label="Row A ${forEachStatus.index} X" />
      								<treecell label="0.0" />
      								<treecell label="0.0" />
      								<treecell label="0.0" />
      								<treecell label="0.0" />
      							</treerow>
      						</treeitem>
      					</treechildren>
      				</treeitem>
      			</treechildren>
      		</tree>
      	</div>
      </zk>
      

            JerryChen JerryChen
            vincentjian vincentjian
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: