Spread for ASP.NET 9.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > MoveToNextCell |
Moves the active cell to the next cell.
[JavaScript]
FpSpread1.MoveToNextCell(isTabStop);
None
This method moves the active cell one cell to the right. If the cell is at the end of the row, it moves the active cell down to the first cell in the next row. This will cause the onActiveCellChanging, onActiveCellChanged, and onSelectionChanged events to occur. This method does not cause a postback to occur.
If the TabStop property is false for a cell and isTabStop is false, the cell is not skipped when moving. If TabStop is false and isTabStop is true, then the cell is skipped when moving. Set the isTabStop parameter to true to use the TabStop property setting for the cell.
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 moveCell() { FpSpread1.MoveToNextCell(true); } </script> |