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

onAfterRender not called after grid scrolling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 7.0.3
    • Fix Version/s: None
    • Component/s: General
    • Labels:
    • Environment:

      ZK 6.5.3 / ZK 7.0.3
      Any browser

      Description

      I'm finally converting the question http://forum.zkoss.org/question/94358/onafterrender-not-called-after-grid-scrolling/ to a bug.

      Grid has an onAfterRender event, which "Notifies one that the model's data has been rendered.", but this will be called only once, after the first elements were rendered. If the grid is longer than 50 elements, the 51..N elements won't be rendered when the event listeners will be attached to the elements.

      It would be nice to maintain this lazy loading behavior (without having to render and send to the browser a big grid) and still being able to receive events for the new loaded elements.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            adamian adamian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: