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

Length of scroll bar shouldn't become shorter with the same columns

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 7.0.2
    • None
    • None

      Let scroll bar be rightmost and click next page button.
      The length of scroll bar shouldn't become shorter with the same columns.

      please refer to ZKFiddle
      http://zkfiddle.org/sample/qvp36l/2-Another-new-ZK-fiddle

      sample code is shown below

       
      <zk>
      	<zscript>
      		List rowData = Collections.nCopies(46, "row");
      		List data = Collections.nCopies(20, "column");
      	</zscript>
      <grid mold="paging" pageSize="15">
      	<custom-attributes org.zkoss.zul.nativebar="false"/>
      	<frozen columns="1"/>
      	<columns >
      		<column label="first" width="400px"/>
      		<column forEach="${data}" label="${each} ${forEachStatus.index + 1}" width="200px"/>
      	</columns>
      	<rows>
      		<row forEach="${rowData}" >
      			<label value="${each} ${forEachStatus.index + 1}"></label>
      			<cell forEach="${data}" width="200px">
      				<label value="${each} ${forEachStatus.index + 1}"/> 
      			</cell>
      		</row>
      	</rows>
      </grid>
      
      </zk>
      

            Unassigned Unassigned
            JerryChen JerryChen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: