We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to select the last page

Thread ID:





116947 Jul 8,2014 09:40 AM UTC Feb 21,2018 11:16 AM UTC ASP.NET MVC 4
Tags: Grid
Sebastian Mothes
Asked On July 8, 2014 09:40 AM UTC



a short question: how to select the last page in a grid?

By Default the grid Displays the first page, how to Display the last?


Thanks in advance


Ragavee U S [Syncfusion]
Replied On July 9, 2014 05:51 AM UTC

Hi Sebastian


We have analyzed your requirement to display the last page while loading the grid initially. It can be achieved by using the goToPage method of the ejPager control. Please refer the below code snippet.


<script type="text/javascript">

    function create(args) {

        this.getGridPager().ejPager("goToPage", args.model.pageSettings.totalPages);       




For your convenience, we have created a simple sample implementing your requirement and the same can be downloaded from the attachment


Please let us know if you need any further assistance.



Ragavee U S

Attachment: Sample_7b63a66a.zip

Sebastian Mothes
Replied On July 9, 2014 09:40 AM UTC

Hi Ragavee,


thank's a lot for your Response. Your provided Solutions worked like a charm.





Ragavee U S [Syncfusion]
Replied On July 10, 2014 03:44 AM UTC

Hi Sebastian


Thank you for your appreciation.


If you have any issues in the future, please get back to us. We will be happy to assist you.


Please let us know if you need any further assistance.



Ragavee U S

Replied On February 21, 2018 11:16 AM UTC



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon