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

JS error when adding grid columns dynamically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.4
    • 7.0.1, 7.0.4
    • General
    • Security Level: Jimmy

      Click on the button to see the error.

      test.zul
      <zk xmlns:w="client">
          <button id="btn" label="Click me"/>
          <grid           
              sizedByContent="true"
              span="true">
              <columns fulfill="btn.onClick">
                  <column 
                      label="AAA">
                  </column>
                  <column 
                      label="BBB"
                      hflex="1">
                  </column>
              </columns>
              <rows>
                  <row>
                      <label value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" />
                      <label value="bbbbbbbbbbbbbbbbb" />
                  </row>
              </rows>
          </grid>
      </zk>
      

            DevChu DevChu
            neillee neillee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: