Spread ASP.NET 6.0 Product Documentation
ScrollTo
Send Feedback
Spread ASP.NET 6.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > ScrollTo

Glossary Item Box

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 language=javascript>
   function moveCell() { 
       FpSpread1.ScrollTo(10,1);
   } 
</SCRIPT>

See Also

MoveToNextRow | MoveToNextCell | Scripting Members

© 2002-2012 GrapeCity, Inc. All Rights Reserved.