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

Glossary Item Box

Gets the total number of rows of the active sheet.

Syntax

[JavaScript]

var ret = FpSpread1.GetTotalRowCount();

Parameters

None

Return Type

Integer

Remarks

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.

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.GetTotalRowCount();
   }
</SCRIPT>

See Also

GetRowCount | SetValue | Scripting Members

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