Spread for ASP.NET 12 Product Documentation
MoveToNextRow
Spread for ASP.NET 12 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > MoveToNextRow

Moves the active cell to the next row.

Syntax

[JavaScript]

FpSpread1.MoveToNextRow(wrap);

Parameters

wrap
Boolean, whether to wrap to the first row when you reach the end of the control

Return Type

None

Remarks

This method moves the active cell down to the next 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 type="text/javascript">
   function moveRow() {
       FpSpread1.MoveToNextRow(true);
   }
</script>
See Also