Author Topic: The grid unintentionally scrolls to the top when clicked on a cell.  (Read 2790 times)

kamiya takanobu

  • Pro Economy
  • Newbie
  • *
  • Posts: 2
    • View Profile
Hello.  I am using Pro 2.02 with IE9 as the client.
My list shown in the grid has >100 records, and I set
obj.flexHeight = false
so the user can use the browser scrollbar (or PageDown key) to go through the list, which is combinient for a lengthy list like this.
The problem is, when I click on a cell at the bottom of this list (say row No. 100), the browser automatically scrolls back and show the top header of the grid.  So I need to manually scroll down again to the record at the bottom of the list which I clicked in the first place.  This happens every time I click on a cell while the top header is not visible (scrolled away) on IE.  Is there any way to avoid this automatic scroll to the top header row?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: The grid unintentionally scrolls to the top when clicked on a cell.
« Reply #1 on: March 24, 2014, 04:46:32 pm »
from your message it looks like you are using flexHeight: true

issue described by you is there in versions <= 2.0.2 and was fixed in 2.0.3.

Please upgrade it to the latest version 2.0.4. Just go through the migration guide

http://paramquery.com/pro/tutorial#topic-migration

Regards
Paramvir


kamiya takanobu

  • Pro Economy
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: The grid unintentionally scrolls to the top when clicked on a cell.
« Reply #2 on: March 25, 2014, 07:06:47 am »
I appreciate your quick response.  I will try the new version.