Spread for ASP.NET 12 Product Documentation
LoadData
Spread for ASP.NET 12 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > LoadData

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