[]
        
(Showing Draft Content)

GetChildSpread

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:

<script type="text/javascript">
   function getChild(){
       var csprd = FpSpread1.GetChildSpread(FpSpread1.ActiveRow,1);
       alert("Child is " + csprd);
   }
</script>

See Also

GetParentSpread

GetChildSpreads

GetSpread

Scripting Members