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

Grid has no vertical scrollbar when height is set by percentage

XMLWordPrintable

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

      <zk>
      	<zscript><![CDATA[
      	Object[] o = new Object[50];
      	]]></zscript>
      	<window border="normal" title="" height="500px">
      		<grid id="grid1" height="40%">
      			<columns>
      				<column label="Grid with height=40% no scroll bar" sort="auto(name)" />
      			</columns>
      			<rows>
      				<row forEach="${o}">item ${forEachStatus.index}</row>
      			</rows>
      		</grid>
      		<space spacing="15px"/>
      		<grid id="grid2" height="200px">
      			<columns>
      				<column label="Grid with height=200px has scroll bar" sort="auto(name)" />
      			</columns>
      			<rows>
      				<row forEach="${o}">item ${forEachStatus.index}</row>
      			</rows>
      		</grid>
      	</window>
      </zk>
      

            benbai benbai
            vincentjian vincentjian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: