Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / AllowLoadOnDemand Property
Example


In This Topic
    AllowLoadOnDemand Property (SheetView)
    In This Topic
    Gets or sets whether to allow incremental loads to the client on demand when the user is scrolling.
    Syntax
    'Declaration
     
    Public Property AllowLoadOnDemand As Boolean
    'Usage
     
    Dim instance As SheetView
    Dim value As Boolean
     
    instance.AllowLoadOnDemand = value
     
    value = instance.AllowLoadOnDemand
    public bool AllowLoadOnDemand {get; set;}

    Property Value

    Boolean: true to allow users to set load on demand; false otherwise
    Example
    FpSpread1.ActiveSheetView.RowCount = 200;
    FpSpread1.ActiveSheetView.AllowLoadOnDemand = true;
    FpSpread1.ActiveSheetView.PageSize = 50;
    FpSpread1.ActiveSheetView.LoadInitRowCount = 20;
    FpSpread1.ActiveSheetView.LoadRowIncrement = 10;
    FpSpread1.ActiveSheetView.RowCount = 200
    FpSpread1.ActiveSheetView.AllowLoadOnDemand = True
    FpSpread1.ActiveSheetView.PageSize = 50
    FpSpread1.ActiveSheetView.LoadInitRowCount = 20
    FpSpread1.ActiveSheetView.LoadRowIncrement = 10
    See Also