How to change the page with time interval

QuestionsHow to change the page with time interval
Daniel Red asked 7 years ago

Hi,
First I have to thank you for the great work on this component. It's awesome.

I am trying to create a dashboard and I want to change the page of the grid automatically with a time interval.

I tried to use something like I found on the FAQS, under the window.onload and $(document).ready but it doesn't work; the page doesn't change:

setInterval("jQuery('#list1').trigger('reloadGrid',[{jqgrid_page:2}]);",2000);

Do you have any ideas on how implement this? Thanks!

1 Answers
Abu Ghufran answered 7 years ago

Hello,

This should work. You probably need to replace 'jqgrid_page' to just 'page'

Your Answer

15 + 12 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?