# GetChildSpread

Use the GetChildSpread method to get the child Spread object on the client of the specified relation at the specified row.

## Content

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

## Syntax

[JavaScript]

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

## See Also

[GetParentSpread](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-GetParSpread)
[GetChildSpreads](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-GetChildSpreads)
[GetSpread](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-GetSpread)
[Scripting Members](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members)