Version

updateGridWithNewRows Method

This method is to be used only if the EnableClientRendering property is set to true. It updates the grid with new rows retrieved during a scroll request and the virtual scrolling behavior with a new row cache size and top row index.
Syntax
ASP.NET Ajax Javascript (Specification) 
function updateGridWithNewRows( 
   firstVisibleRowIndex : Number,
   rowCacheSize : Number,
   dataSource : Number
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfVirtualScrolling.updateGridWithNewRows(Number,Number,Number);

Parameters

firstVisibleRowIndex
The index of the top/first row that is present on the client.
rowCacheSize
The number of rows present on the client.
dataSource
The dataSource containing the grid's rows, Json array only, generated at the client or retrieved as a result from Ajax anabled web service call.
See Also