| Spread for ASP.NET 8.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetActiveCol | 
Gets the index of the column of the active cell.
[JavaScript]
ret = FpSpread1.GetActiveCol;
None
Integer, column index of active cell
The column index is the index of the column on the displayed HTML page.
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 language=javascript>
   function getColumn() {
       ret = FpSpread1.GetActiveCol;
   }
</SCRIPT>
                 | 
            |