Spread ASP.NET 14
Spread for ASP.NET 14 Product Documentation / Client-Side Scripting Reference / Scripting Members / Methods / GetParentRowIndex
In This Topic
    GetParentRowIndex
    In This Topic

    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 type="text/javascript">
       function getPRowIx() {
           var prowix = FpSpread1.GetParentRowIndex();
           alert("Index of parent row is " + prowix);
    </script>
    
    See Also