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

grid column width not render correct when using frozen component

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.4
    • 7.0.3
    • ZK Client Engine
    • Security Level: Jimmy

      This issue only happened when hflex="min" on column.
      Reproducible sample:

      <zk>
          <label multiline="true">
          1. scroll to right most.
          2. scroll back to left.
          3. the column width become very small.
          </label>
          <zscript><![CDATA[
          Object[] columns = new Object[50];
          ]]></zscript>
          <grid width="700px">
              <frozen columns="1" />
              <columns>
                  <column label="2200" align="center" hflex="min" forEach="${columns}" />
              </columns>
              <rows>
                  <row forEach="1,2,3,4,5,6">
                      <label value="5" forEach="${columns}" />
                  </row>
              </rows>
          </grid>
      </zk>
      

            ChunfuChang ChunfuChang
            vincentjian vincentjian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: