1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
    masm is on a distinguished road

      0  

    Default Unanswered: Rid of scrolling when selecting an item in Ext.grid.Panel

    Unanswered: Rid of scrolling when selecting an item in Ext.grid.Panel


    Is it possible to rid of page scrolling when I click an item in grid? It happens when input focus is outside grid, I click an item, and then it scrolls trying to align selected item closer to the center of the screen. (Page height has to be less then height of the grid).

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,973
    Answers
    659
    Vote Rating
    452
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Are you asking if this is possible, or are you reporting a possible bug?

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
    masm is on a distinguished road

      0  

    Default


    I'm not sure, maybe it's a feature ), maybe grid tries to move the item in the center of the screen to focus user's attention. But this behavior isn't desirable for us, because after clicking on item, selected item is no longer located under the pointer of the mouse and user has to find it again. That's why I want to disable this behavior.

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,973
    Answers
    659
    Vote Rating
    452
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Can this be replicated on one of our online grid examples?
    Steps to replicate using the example would be helpful as well.

    Scott.

  5. #5
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
    masm is on a distinguished road

      0  

    Default


    Yes, it's easy to reproduce on Basic Array Grid example. To reproduce you need repeat following steps:
    1. Resize browser to make grid's height larger than window's height: before.jpg
    2. Then press "AT&T Inc." item. The page automatically scrolls down, and you see this picture:after.jpg
    Unfortunately, you can't see mouse pointer in these pictures but in the first one it's located right over "AT&T Inc." item and in the second one - right over "Hewlett-Packard Co." (you can see gray-color highlighting).

  6. #6
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,973
    Answers
    659
    Vote Rating
    452
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Thank you for the details. This is already under review: EXTJSIV-5889 and should be addressed in a future release.

    Regards,
    Scott.

Thread Participants: 1

Tags for this Thread