Spread for ASP.NET 7.0 Product Documentation
GetChildSpreads
See Also Support Options
Spread for ASP.NET 7.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetChildSpreads

Glossary Item Box

Gets an array of the child Spread objects of the displayed page on the client.

Syntax

[JavaScript]

var list = FpSpread1.GetChildSpreads();

Parameters

None

Return Type

Array of Spread objects (HTML elements)

Remarks

This method gets an array of the Spread objects of the page displayed on the client.

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 language=javascript>
   function displayChildSpreads() {
      var list = FpSpread1.GetChildSpreads();
      if (list!=null) {
         alert("There are "+list.length+" child Spreads created.");
      }
   }
</SCRIPT>

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.