Spread for ASP.NET 10 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetChildSpreads |
Gets an array of the child Spread objects of the displayed page on the client.
[JavaScript]
var list = FpSpread1.GetChildSpreads();
None
Array of Spread objects (HTML elements)
This method gets an array of the Spread objects of the page displayed on the client.
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 displayChildSpreads() { var list = FpSpread1.GetChildSpreads(); if (list!=null) { alert("There are "+list.length+" child Spreads created."); } } </script> |