Spread for ASP.NET 12 Product Documentation
GetActiveCol
Spread for ASP.NET 12 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetActiveCol

Gets the index of the column of the active cell.

Syntax

[JavaScript]

ret = FpSpread1.GetActiveCol;

Parameters

None

Return Type

Integer, column index of active cell

Remarks

The column index is the index of the column on the displayed HTML page.

Example

This is a sample that contains the property. On the client side, the script that contains the property would look like this:

JavaScript
Copy Code
<script type="text/javascript">
   function getColumn() {
       ret = FpSpread1.GetActiveCol;
   }
</script>
See Also