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

Grid model update cause page scroll

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Normal Normal
    • None
    • 5.0.9
    • Browser Issue, Databind
    • Win7 64bit, java 1.6.0_26, chrome or firefox

      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....

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

              Created:
              Updated:
              Resolved: