Spread for ASP.NET 7.0 Product Documentation
GetTopRowIndex
See Also Support Options
Spread for ASP.NET 7.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetTopRowIndex

Glossary Item Box

Gets the row number of the cell in the top left corner of the sheet.

Syntax

[JavaScript]

var ret = FpSpread1.GetTopRowIndex();

Parameters

None

Return Type

Integer, index of the top row

Remarks

This method returns the row index of the top row.

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 getHValue() {
       var ss = document.getElementById("FpSpread1");
       var totalRow = ss.GetTopRowIndex();
   }
</SCRIPT>

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.