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 6780509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:30:52+00:00 2026-05-26T16:30:52+00:00

I have a button displayed in the jqGrid scrollOffset area as seen in my

  • 0

I have a button displayed in the jqGrid scrollOffset area as seen in my first screenshot. But you’ll notice in the second screenshot when there isn’t enough results to fill the grid the scrollbars disappear and the scrollOffset area goes with it. Is there a way to trick jqGrid into always displaying the scrollOffset area.

enter image description here

  • 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-26T16:30:52+00:00Added an answer on May 26, 2026 at 4:30 pm

    If I understand you correct you can include the following CSS which will force creating the scroll-bars

    <style type="text/css">
        .ui-jqgrid .ui-jqgrid-bdiv { overflow: scroll; }
    </style>
    

    UPDATED: I looked in your demo from here. I don’t like your customization of the searching toolbar of jqGrid and the column headers because you add additional column in the grid header, which not exist in the body of grid and which jqGrid don’t know. I find the way too dangerous.

    I would recommend you to use toppager: true parameter instead. In your current code you use “keyword-grid” as the grid id and “keyword-grid-toolbar” as the pager. If you would use toppager: true option you will din’t need <div id="keyword-grid-toolbar"> at all. Instead of that jqGrid will create the div for the top pager itself. The id of the grid will be constructed from the grid id and the text “_toppager”. In you case it will be the div with id=”keyword-grid_toppager”.

    So you should remove pager: "#keyword-grid-toolbar" parameter of jqGrid and replace '#keyword-grid-toolbar' to '#keyword-grid_toppager' for navGrid and navButtonAdd which you use.

    You can read here and here more information about the toppager.

    As the result you will have not the same look of jqGrid of course, but the height of the grid will be not changed and the searching and column chooser buttons will be on top and are always visible. So all your main problems will be solved and you will have standard jqGrid.

    UPDATED 2: One more approach which you can follow is to add a column at the end of jqGrid and make it hidden by

    {name: 'last', width: 22, sortable: false, resizable: false, search: false,
        cellattr: function () {return ' style="display: none"'} }
    

    instead of typical hidden: true. It will preserve some place in the column header and the searching toolbar. So you will be able to add some your custom elements without breaking general grid structure:

    enter image description here

    see the demo here.

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

Sidebar

Related Questions

I have a MKAnnotationView being allocated with a DetailDisclosure button being displayed on the
I must have overlooked something completely obvious?? but my button displays its image and
I have a jqgrid whose html is displayed in the following way. I build
I'm using Javascript/Jquery to have a button toggle which div is displayed in the
I have a button that is displayed with an image. I would like to
In my code, I have a form with radio buttons. The first radio button
I am trying to have the button to display to the right of the
I have a button that opens a dialog when clicked. The dialog displays a
want to have a Hyperlink-Button in a gridView in which I can display a
I have to display yes/no button on some condition on my asp.net page ,

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.