Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1046861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:12:44+00:00 2026-05-16T16:12:44+00:00

My pagination is not working when I removed the loadonce:true …but if I use

  • 0

My pagination is not working when I removed the loadonce:true …but if I use loadonce:true than my grid is not working. Any idea how can I get my pagination work again.

update: this is extension to problem loading data in details jqGrid from master grid?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T16:12:45+00:00Added an answer on May 16, 2026 at 4:12 pm

    If you remove loadonce:true and use datatype:"json" or "datatype:xml" jqGrid option then your server must implement pagination. The server receive some parameters which will be appended to the url in case of ‘GET’ requests or send in the HTTP body in case of “POST” requests. This parameters are rows, page, sidx, sord. For example if your table have a column with the index ‘Name’ as the current sort column and rowNum: 20 then your url will be appended with ?rows=20&page=1&sidx=Name&sord=asc. Your server should construct SELECT statement to the database where the data are placed with ORDER BY Name asc then divide the result in pages 20 rows per page and send back the first page of the results. (See Get current url including parameters of Jqgrid for a little more information). For a PHP with MySQL on the server see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:first_grid#php_and_mysql_example_file as an example.

    So in case of loadonce:false or no loadonce parameter your server is responsible for sorting and paging of the data. If it is not work you should verify your server code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying use cursor for pagination. Forwarding pagination work fine, but I can
I've got a fairly simple pagination algorithm here but it's not working the way
We have already created custom module for searching but pagination not working. we have
My rails project is paginating the HTML format but not the the others. Can
I just got pagination to work on my site, but I wanted to use
so many pagination question on stackoverflow, but i can't see it with codeigniter, so
can any post the how to filter a grid view timestamp(Y-m-d h:m:s) column using
Pagination link not working on expression engine exp:search results.Page does not display the new
Pagination is not working on taxonomy.php. Here is my code for register custom post
I want a working demo of table pagination. Can some one give me link

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.