Results 1 to 5 of 5

Thread: How to implement Grid & Tree Grid Scroll To?

  1. #1
    Touch Premium Member liuxing_sc's Avatar
    Join Date
    Aug 2011
    Location
    China
    Posts
    38
    Vote Rating
    0
      0  

    Post Answered: How to implement Grid & Tree Grid Scroll To?

    Hi all, I got a problem, i wanna implement functions as below. i got a record from grid, but record is out of my view, i mean i can't see it until using the scrollbar to scroll down. i want to write code to implement auto scroll down in both tree & grid, what can i do? thanks.

  2. You must use the newest version, there was proabably a bug earlier. You can try version 4.07.

    RowIndex as parameter is corrrect or you can use the record as you wish

  3. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,154
    Answers
    87
    Vote Rating
    34
      0  

    Default

    for the grid/tree there is
    Code:
    grid/tree.getView().focusRow(row);

  4. #3
    Touch Premium Member liuxing_sc's Avatar
    Join Date
    Aug 2011
    Location
    China
    Posts
    38
    Vote Rating
    0
      0  

    Default

    Hi Thanks dude, but i've tried this method before, i use row index or Record as the parameter, but it doesn't work, btw, my version is 4.0.1.dunno if it has something to do with that. if it could do it, how can i get the parameter row? what is that exactly?

  5. #4
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,154
    Answers
    87
    Vote Rating
    34
      0  

    Default

    You must use the newest version, there was proabably a bug earlier. You can try version 4.07.

    RowIndex as parameter is corrrect or you can use the record as you wish

  6. #5
    Touch Premium Member liuxing_sc's Avatar
    Join Date
    Aug 2011
    Location
    China
    Posts
    38
    Vote Rating
    0
      0  

    Default

    thanks tvanzoelen, but 4.0.7 is not workable for our project, it will brought us more active bugs. but thank you all the same

Posting Permissions

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