Results 1 to 3 of 3

Thread: Using LiveGridView with RowNumberer

  1. #1
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    16
    Vote Rating
    1
      1  

    Default Unanswered: Using LiveGridView with RowNumberer

    In the project I'm working on, we previously used the BufferView and RowNumberer with our Grid. Now we are trying to use the LiveGridView but the RowNumberer only displays values 1-15 regardless of scrolling or changing to a new page (there are 15 rows displayed in the view).

    It used to be that a custom CellRenderer was used to display the correct row number, but now it appears RowNumberer is using a AbstractCell and numbering based on the Context.

    So is the Context not updating properly or can the RowNumberer not be used with the LiveGridView?

    Thanks.

  2. #2
    Sencha User
    Join Date
    Oct 2011
    Location
    LA
    Posts
    27
    Answers
    1
    Vote Rating
    1
      0  

    Default

    same problem here

  3. #3
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Answers
    109
    Vote Rating
    93
      0  

    Default

    The context either has the index relative to the current scrolled section or the locally cached items - probably the former. If so, add it to the current offset, according to the livegridview. If it is relative to the cached items, add it to the offset of the last load operation.

Tags for this Thread

Posting Permissions

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