Spread for ASP.NET 11 Product Documentation
ScrollTo
Spread for ASP.NET 11 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > ScrollTo

Moves the specified cell to the top, left corner of the view area.

Syntax

[JavaScript]

FpSpread1.ScrollTo(row,column);

Parameters

row
Integer, row index
column
Integer, column index

Return Type

None

Remarks

This method moves the specified cell to the top, left corner of the view area (displayed area). 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 moveCell() {
       FpSpread1.ScrollTo(10,1);
   }
</script>
See Also