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

  • SEARCH
  • Home
  • 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 7697601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:03:21+00:00 2026-05-31T22:03:21+00:00

I am using a jqgrid but am having trouble positioning to a specific page.

  • 0

I am using a jqgrid but am having trouble positioning to a specific page. I have seen a couple of examples using reloadGrid which I have tried but it doesn’t work. I have a large data set that is paged. If I try to go to page 76 of my data set it acts like it is trying to do it as the “View” count at the bottom is correct however the grid is displayed empty (even though my JSON data looks correct). I notice the scroll bar is still positioned to the top and if I touch it it automatically reloads back to page 1. Am I missing something?

Here is my grid definition:

$("#list1").jqGrid({
  url: 'jqgrid.php?cmd=getrecs',
  editurl: 'jqgrid.php?cmd=editrec',
  datatype: 'json',
  colNames:['Branch', 'Description', 'Type', 'Active' ],
  colModel :[
    {name:'rbranch',
            index:'rbranch',
            sortable:true,
            editable:true
    },
    {name:'des',
            index:'des',
            sortable:true,
            editable:true
    },
    {name:'type',
            index:'type',
            sortable:true,
            editable:true
    },
    {name:'status',
            index:'status',
            sortable:false,
            editable:true
    }
  ],
  pager: '#pager1',
  sortname: 'rbranch',
  sortorder: 'asc',
  rowNum: 100, // Only fetch 100 at a time
  viewrecords: true,
  scroll: 1,
  sortable: true,
  caption: 'Scheduling Resources'
});

$("#list1).navGrid("#pager1",
  // Turn on the icons
  {edit:true,
          add:true,
          del:true,
          search:true,
          refresh:true,
          refreshstate:'current',
          view:true
  },
  // Edit dialog parameters
  {reloadAfterSubmit: false,
          closeAfterEdit: true
  },
  // Add dialog parameters
  {reloadAfterSubmit: true,
          closeAfterAdd: true
  },
  // Delete dialog parameters
  {reloadAfterSubmit: false},
  // Search dialog parameters
  {},
  // View dialog parameters
  {}
);

To go to page 76 I am trying this:

$("#list1").trigger("reloadGrid",[{page:76}]);
  • 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-31T22:03:22+00:00Added an answer on May 31, 2026 at 10:03 pm

    You use scroll: 1 option. It’s a special virtual scrolling mode. In the mode many things work in another way or not works at all. You can try to remove the option and use standard paging.

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

Sidebar

Related Questions

I am using jqgrid 3.8. I have a grid which is having some editable
I am using JQGrid in my solution in which i load tabs dynamically, but
Hi I'm using jqgrid to show some information in a grid. But I have
I am using CakePHP and jqGrid, but am having a difficult time making them
I am using navButtonAdd to have a column chooser in my jqgrid but it
I'm having trouble using the jQgrid, when I initialize the jqgrid with json datatype
I've been working qith jqGrid 4.3.1, but I am using an additional javascript method
I'm using JQgrid, with a select/dropdown in my project, and have implemented it in
I am using jqGrid with treeGrid. I have added a filterToolbar. I would like
I'm trying to use inline editing in jqGrid and I'm having trouble with the

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.