Spread ASP.NET 16
Spread for ASP.NET 16 Product Documentation / Client-Side Scripting Reference / Scripting Members / Methods / LoadData
In This Topic
    LoadData
    In This Topic

    Loads data in the background.

    Syntax

    [JavaScript]

    FpSpread1.LoadData(Bool);

    Parameters

    Bool
    Boolean, asynchronous, true to lock the control or false to lock the page

    Return Type

    None

    Remarks

    This method can be used to load data. This will load the data in the background (instead of loading the data when the user scrolls the sheet). Set the parameter to true to lock the Spread control or false to lock the entire page. This method causes a postback to occur.

    Example

    This is a sample that contains the method. On the client side, the script that contains the method would look like this:

    JavaScript
    Copy Code
    <script type="text/javascript">
       function getHValue() {
           var ss = document.getElementById("FpSpread1");
           ss.LoadData(true);
       }
    </script>
    
    See Also