Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
Row on Another Page
posted

 Anyone know how to access a row on a different ultragrid page? eg - i want to select row 2 on page 2, but i'm currently on page 1. Is this possible?

  • 28464
    posted

    I just want to add that the grid both on the server side and on the client-side (CSOM) keeps record only of the rows / columns that are currently visible and available (current page) - this is done for optimization purposes - the grid will be very slow, if not impossible to work with, if it stores all data and information about potentially thousands of rows, while displaying only one Page of 20 rows.

    So, if you to obtain a reference to a row that is not on the current page, then I am afraid this is not possible using the grid API (you will need to either explicitly page to the page needed or query your datasource directly). 

  • 7694
    posted

     

    Hello,

    If both grids is on the one page you can use the JavaScript function igtbl_getGridById("gridID")   to get the  grid and work with it.

    Also take a look at this link:

    http://help.infragistics.com/NetAdvantage/NET/2008.2/CLR3.5/

    If both grids are on different pages you have to use the state manager to store rows.

    Hope this helps.