| Spread for ASP.NET 8.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > MoveToPrevRow | 
Moves the active cell to the previous row.
[JavaScript]
FpSpread1.MoveToPrevRow(wrap);
None
This method moves the active cell up to the previous row. This will cause the onActiveCellChanging, onActiveCellChanged, and onSelectionChanged events to occur. This method does not cause a postback to occur.
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 moveRow() { FpSpread1.MoveToPrevRow(true); } </SCRIPT>  | 
            |