Results 1 to 2 of 2

Thread: Focus on a group of items in Grid

  1. #1
    Sencha User
    Join Date
    May 2011
    Vote Rating

    Default 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
    Vote Rating


    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts