Spread for ASP.NET 10 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetTotalRowCount |
Gets the total number of rows of the active sheet.
[JavaScript]
var ret = FpSpread1.GetTotalRowCount();
None
Integer
This method returns the total number of rows for the active sheet. If the AllowPage property is true, this method may return more rows than the GetRowCount method.
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 getHValue() { var ss = document.getElementById("FpSpread1"); var totalRow = ss.GetTotalRowCount(); } </script> |