Spread for ASP.NET 7.0 Product Documentation
MoveToPrevRow
See Also Support Options
Spread for ASP.NET 7.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > MoveToPrevRow

Glossary Item Box

Moves the active cell to the previous row.

Syntax

[JavaScript]

FpSpread1.MoveToPrevRow(wrap);

Parameters

wrap
Boolean, whether to wrap to the last row when you reach the beginning of the control

Return Type

None

Remarks

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.

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 moveRow() {
       FpSpread1.MoveToPrevRow(true);
   }
</SCRIPT>

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.