Spread for ASP.NET 8.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetTopRowIndex |
Gets the row number of the cell in the top left corner of the sheet.
[JavaScript]
var ret = FpSpread1.GetTopRowIndex();
None
Integer, index of the top row
This method returns the row index of the top row.
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> |