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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to select the last page

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hello,

 

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);       

    }

</script>

 

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.

 

Regards

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.

 

Regards

 

Sebastian


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.

 

Regards

Ragavee U S


pauloguedes
Replied On February 21, 2018 11:16 AM UTC

Ok!

CONFIRMATION

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.

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

;