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

PageSize of GRID Doubling issue when it refreshes ...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • 6.0.1
    • 6.0.0
    • Components
    • Window 7 ultimate 64bit, All browser

      I posted this post.
      http://www.zkoss.org/forum/listComment/19046

      The problem is evenrytime i recall a method which drawing a Grid - not rowRenderer, i tested a minute ago, no problem with rowRenderer -

      PageSize of the grid is doubled.

      Usually i recall this method after a post is updated, added or deleted ...

      I'm not sure it's a bug but pretty sure this issue came up with ZK 6.0.0 upgrade.

      Think rows.getChildren().clear() doesn't initialize the pageSize ...

      ex)
      <grid mold="paging" pageSize="10">

      a number of article : 35
      it's maxPageSize(end of page) is 4.

      refresh after added an article.
      it's maxPageSize will be 8.

            TonyQ TonyQ
            mansoo1500 mansoo1500
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: