Spread ASP.NET 6.0 Product Documentation
GetParentRowIndex
Send Feedback
Spread ASP.NET 6.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetParentRowIndex

Glossary Item Box

Gets the row index of the parent Spread object of the displayed Spread object.

Syntax

[JavaScript]

var ret = FpSpread1.GetParentRowIndex();

Parameters

None

Return Type

Integer, index of row of the parent Spread object

Remarks

This method returns the index of the row for the parent of the child Spread object (HTML element) displayed on the client. This method is for a hierarchical Spread.

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 getPRowIx() {
       var prowix = FpSpread1.GetParentRowIndex(); 
       alert("Index of parent row is " + prowix); 
</SCRIPT>

See Also

GetParentSpread | GetParentSpread | GetChildSpread | Scripting Members

© 2002-2012 GrapeCity, Inc. All Rights Reserved.