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

grid onScroll client-side event not working in 7.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.1
    • Component/s: ZK Client Engine
    • Labels:
    • Environment:

      All browsers

      Description

      The following ZK fiddle no longer works in 7.0:
      http://zkfiddle.org/sample/24ahj3i/1-Listen-Grid-scrolling

      <zk>
      <zscript>Object[] o = new Object[50];</zscript>
      <hlayout>
      <grid id="grid1" width="100px" height="100px">
      <rows>
      <row forEach="${o }">
      <label value="item ${forEachStatus.index}"/>
      </row>
      </rows>
      </grid>
      <grid id="grid2" width="100px" height="100px">
      <rows>
      <row forEach="${o}">
      <label value="item ${forEachStatus.index}"/>
      </row>
      </rows>
      </grid>
      </hlayout>
      <zscript><![CDATA[
      grid1.setWidgetListener("onScroll", "this.$f('grid2').ebody.scrollTop = this.ebody.scrollTop;");
      ]]></zscript>
      </zk>

        Attachments

          Activity

            People

            Assignee:
            danchen0720 danchen0720
            Reporter:
            odranoel75 odranoel75
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: