# MoveToFirstColumn

Use the MoveToFirstColumn method to move the active cell to the first column. Learn its syntax and parameters in documentation.

## Content

Moves the active cell to the first column.

## Syntax

[JavaScript]

```javascript
FpSpread1.MoveToFirstColumn();
```

## Parameters

None

## Return Type

None

## Remarks

This method moves the active cell to the first column in the same row. This will cause the **onActiveCellChanging**, **onActiveCellChanged**, and **onSelectionChanged** events to occur. This method does not cause a postback to occur.

## Example

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

```javascript
<script type="text/javascript">
   function moveColumn() {
       FpSpread1.MoveToFirstColumn();
   }
</script>
```

## See Also

[MoveToLastColumn](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-MoveToLastColumn)
[MoveToPrevRow](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-MoveToPrevRow)
[Scripting Members](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members)