[CLOSED] GridPanel with BufferedRenderer: ScrollTo an added row

  1. #1

    [CLOSED] GridPanel with BufferedRenderer: ScrollTo an added row

    Hi,

    Is it possible to scroll to a row in a buffered gridpanel which is just added and selected?
    Idea is the following:
    - fill a gridpanel with contents
    - add a new row (formpanel with server side code)
    - select the new row (server side code)
    - scrollto this new row

    The new row will not be added at the end of the gridpanel because the data is sorted on one of the fields.

    The example https://examples2.ext.net/#/GridPane...red_Scrolling/ shows how to jump to a row number. But I think that when adding a new row the row number is not known. Or is it possible to get the row number directly after adding a new row?

    Hans Wapenaar
    Last edited by Daniil; Feb 04, 2014 at 11:35 AM. Reason: [CLOSED]
  2. #2
    Hi Hans,

    Please demonstrate how you add a new record.
  3. #3
    Hi Daniil,

    In the application where i need this functionality a record is inserted with an insert query in the database table (query constructed in server-side code).
    After this insertion i run a databind on the store to refresh the gridpanel:
    gridpanel1.GetStore.DataBind()
    Hans
    Last edited by Daniil; Jan 28, 2014 at 10:56 AM. Reason: Please use [CODE] tags
  4. #4
    Ok. I think you have to find a way to determine an index of an inserted row on server when you actually insert that record. I mean accessing to a Store's data source directly.

Similar Threads

  1. Replies: 7
    Last Post: Jun 26, 2015, 9:04 AM
  2. Replies: 4
    Last Post: Oct 28, 2013, 8:38 PM
  3. Replies: 6
    Last Post: Sep 25, 2013, 5:14 AM
  4. [CLOSED] GridPanel with BufferedRenderer Bug
    By elisa in forum 2.x Legacy Premium Help
    Replies: 12
    Last Post: Aug 23, 2013, 6:21 PM
  5. [CLOSED] bufferedrenderer in version 2.1
    By JCarlosF in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 13, 2013, 4:45 PM

Posting Permissions