Version

MoreRowsReceived Property

Gets sets name of javascript function which is called after rows were received from server.
Syntax
'Declaration
 
Public Property MoreRowsReceived As String
public string MoreRowsReceived {get; set;}
Example
WebDataGrid1.Behaviors.VirtualScrolling.VirtualScrollingClientEvents.MoreRowsReceived = "WebDataGrid_MoreRowsReceived"
WebDataGrid1.Behaviors.VirtualScrolling.VirtualScrollingClientEvents.MoreRowsReceived = "WebDataGrid_MoreRowsReceived";
// The client event 'MoreRowsReceived' takes two parameters sender and e
// sender  is the object which is raising the event
// e is the MoreRowsReceivedEventArgs

function WebDataGrid_MoreRowsReceived(sender, e) {

    //Returns index of the top row received from server.
    var topRowIndex = e.get_topRowIndex();

    //Returns number of rows received from the server
    var numberOfRowsReceived = e.get_rowsRange();

    window.status = numberOfRowsReceived + " rows received from the server with index of the top row being '" + topRowIndex + "'.";  
        
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also