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

Glossary Item Box

Moves the active cell to the previous cell.

Syntax

[JavaScript]

FpSpread1.MoveToPrevCell();

Parameters

None

Return Type

None

Remarks

This method moves the active cell left to the previous cell. If the cell is at the beginning of the row, it moves the active cell up to the last cell in the previous 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 Copy Code
<SCRIPT language=javascript>
   function moveCell() { 
       FpSpread1.MoveToPrevCell();
   } 
</SCRIPT>

See Also

MoveToFirstColumn | MoveToNextCell | Scripting Members

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