1. #1
    Sencha User
    Join Date
    Oct 2008
    Posts
    278
    Vote Rating
    0
    livinglegends is on a distinguished road

      0  

    Default How to make visible a particular row in GridView?

    How to make visible a particular row in GridView?


    Hi,

    In my GridPanel. there are around 100 rows and a time on 20 rows are visible. Means I have scrollbar in GridPanel.

    Now, as per requirement, I have to select a particular row runtime. Infact, I can select by code grid.rowFocus(5) (select 5th row). But, problem arises when I select any row greater than 20 index.

    Example: grid.rowFocus(35).

    Above code select 35th row, but I cannot see that row as scrollbar doesn't automatically moved to that row. Manually, I have to scroll to that row.

    Is there any way to achieve this?

    Hope, I cleared with my problem.

    Thanks in advance
    Livinglegend

  2. #2
    Sencha User
    Join Date
    Oct 2008
    Posts
    278
    Vote Rating
    0
    livinglegends is on a distinguished road

      0  

    Default


    no one?

  3. #3
    Sencha User
    Join Date
    Oct 2008
    Posts
    278
    Vote Rating
    0
    livinglegends is on a distinguished road

      0  

    Default


    No one has read this question?

    Anyone from Condor or Animal?

    this thing perfectly works in Chrome and IE but in firefox...

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,365
    Vote Rating
    128
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Invoking focusRow should bring that row into focus. My guess is that you may have a layout issue at a higher level. Try a basic grid example and you'll see that this works out of the box.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Similar Threads

  1. Make the scroller visible.
    By blessan in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 2 Sep 2010, 7:03 PM
  2. keep GridView row selection on row update event
    By JensHeyer in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 26 May 2009, 1:55 AM
  3. Make rowbody visible only in the selected row in a grid
    By doze in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 11 Jun 2008, 4:15 AM
  4. Using ext make you less visible in search engine?
    By StErMi in forum Community Discussion
    Replies: 4
    Last Post: 14 Feb 2008, 9:56 AM

Thread Participants: 1