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

Grid model update cause page scroll

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Invalid
    • Affects Version/s: 5.0.9
    • Fix Version/s: None
    • Component/s: Browser Issue, Databind
    • Labels:
    • Environment:

      Win7 64bit, java 1.6.0_26, chrome or firefox

      Description

      Attached there's a page and corresponding controller. The grid has a big GroupsModel, so the page has a scrollbar. If you scroll down to the bottom you can see a button, if you press it, the model is updated via setModel() method. The page than suddenly scroll to the top, instead of staying at the bottom. Under certain circumstances it's annoying for the user.
      Maybe the best way to dinamically update model is using a BindingGroupsListModel but I don't understand how to use it....

        Attachments

          Activity

            People

            Assignee:
            SimonPai SimonPai
            Reporter:
            pentavalle pentavalle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: