Spread for ASP.NET 9.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > LoadData |
Loads data in the background.
[JavaScript]
FpSpread1.LoadData(Bool);
None
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.
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> |