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

Glossary Item Box

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

Syntax

[JavaScript]

var ret = FpSpread1.GetLeftColIndex();

Parameters

None

Return Type

Integer, index of the left column

Remarks

This method returns the index of the left column.

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

See Also

GetTopRowIndex | SetValue | Scripting Members

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