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

Pager (Pager No)

Thread ID:

Created:

Updated:

Platform:

Replies:

144937 May 29,2019 12:12 PM UTC May 30,2019 01:53 PM UTC Vue 1
loading
Tags: Data Grid
sayali saitawdekar
Asked On May 29, 2019 12:12 PM UTC

How can i get the pager number in Data Grid i.e if i click on 2nd page, i want to know i have clicked on 2nd page. Can i get that value?
I have tried using "if(args.requestType == "paging")" but i just get the event, and nothing else.

Thavasianand Sankaranarayanan [Syncfusion]
Replied On May 30, 2019 01:53 PM UTC

Hi Sayali, 

Greetings from Syncfusion support. 

You can get the current page number from the currentPage properties of Grid. 

Refer the below code example. 


methods: { 
     
    actionComplete:e => { 
      if(e.requestType == "paging"){ 
        console.log(e.currentPage); 
      } 
    } 



We have prepared simple sample in the following link. 


Regards, 
Thavasianand S. 


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.

Please sign in to access our forum

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon