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

Glossary Item Box

Gets the child Spread object on the client of the specified relation at the specified row.

Syntax

[JavaScript]

var ret = FpSpread1.GetChildSpread(row,relation);

Parameters

row
Integer, row index
relation
Integer, relation index

Return Type

Spread object (HTML element)

Remarks

This method gets the Spread object of the page displayed on the client. Both row and relation indexes must be valid.

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 getChild(){
       var csprd = FpSpread1.GetChildSpread(FpSpread1.ActiveRow,1);
       alert("Child is " + csprd);
   }
</SCRIPT>

See Also

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