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
235
how to get the maximum rows count in the ultragrid client area
posted

Hi,

 

I have one requirement, the datasource of the ultragrid has too many rows. When load in once, it will take much time and the client area of the grid has a scroll bar. I want to add the load on demand feature to the grid and then I need to do two thing:

1) get the maximum rows that the grid's client area could host.

2) get the maximum rows count + 1of row and add it to the data source. then the grid have a scroll bar.

3) when user click the scroll down button in the scroll bar.get another maximum row + 1 of rows and then set the data source.

I have two problems:

1 how get the maximum row count that the grid client area could host.

2 how handle the scroll event in the ultragrid.

Please help.

thanks,

Eric

  • 469350
    Offline posted

    Hi Eric,

    Have you taken a look at the Virtual Mode Sample? This sample is included in NetAdvantage and it demonstrates how to load the grid on-demand using the UltraDataSource component.