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

Glossary Item Box

Changes the display to show the previous page.

Syntax

[JavaScript]

FpSpread1.Prev();

Parameters

None

Return Type

None

Remarks

This method is similar to pressing the Previous (<<) button on the command bar or the other page navigation aids; it goes back one page to display the set of rows on the previous page. If there is not a previous page, the Spread stays on the current page. This method causes a postback to occur. When this method is called, the TopRowChanged event is raised on the server.

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 onPrevButtonClick() { 
       FpSpread1.Prev();
   } 
</SCRIPT>

See Also

Next | Scripting Members

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