Spread for ASP.NET 8.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetChildSpread |
Gets the child Spread object on the client of the specified relation at the specified row.
[JavaScript]
var ret = FpSpread1.GetChildSpread(row,relation);
Spread object (HTML element)
This method gets the Spread object of the page displayed on the client. Both row and relation indexes must be valid.
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 getChild(){ var csprd = FpSpread1.GetChildSpread(FpSpread1.ActiveRow,1); alert("Child is " + csprd); } </script> |