1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    47
    Vote Rating
    0
    nmb1106 is on a distinguished road

      0  

    Default Focus on a group of items in Grid

    Focus on a group of items in Grid


    I am currently working with a paging grid that loads one record at a time with several rows(sometimes hundreds), often users will open this editor screen with the grid on it and scroll to an item, edit it, and then page to do the same to the next. Right now when they do this the grid reloads at the top of the page.

    I just went and fixed it up so it at least loads the next grid with the focus on the row index last edited in the previous screen. But we want it to actually display the same group of rows it showed before the page was clicked. If 200-220 were on the screen before, I want 200-220 on the grid when they page. Is there a way to do this? Thanks in advance!

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    If you are re-creating the grid, store, and loader every time you display it, you'll need to save, and set the loader's offset. If you are not recreating these things, it should already do this.

    Without more information, it is hard to say what you will need to change. If you can provide a very simple sample of an EntryPoint with a grid and a form, it will be easier to point out how this can be done.

Thread Participants: 1