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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:23:45+00:00 2026-05-27T00:23:45+00:00

I am using jqGrid at two places in my Project . In first sample

  • 0

I am using jqGrid at two places in my Project .

In first sample code it is running perfect with horizontal bar showing up …

Sample Code for first jqGrid
Sample Code :

jQuery("#list2").jqGrid({
    url:'server1.php?P1=ACNO,APHID',
    datatype: "json",
    colNames:[
        'ACNO','APHID'
    ],
    colModel:[
        {name:'ACNO',index:'ACNO', width:80, sortable:true, search:true},
        {name:'APHID',index:'APHID', width:80, sortable:true, search:true}
    ],
    rowNum:100,
    rowList:[100,200,300,400],
    pager: '#pager2',
    loadonce: true,
    sortname: 'geneID',
    viewrecords: true,
    width:700,
    shrinkToFit:false,
    height:700,
    sortorder: "desc",
    caption:"Breeder Tool Box"
});

Sample Code for the second jqGrid
Sample Code :

jQuery("#list2").jqGrid({
    url:'server4.php?P1=NEMATODE',
    datatype: "json",
    colNames:['Linkage_group','Chromosome','Start_Position','Stop_Position','Start','End','geneID','Feature_Type','Feature_Name','Mstart','Mstop','Trait'],
    colModel:[
        {index: 'Linkage_group', name: 'Linkage_group',width:170, sortable:true, search:true},
        {index: 'Chromosome', name: 'Chromosome',width:170, sortable:true, search:true},
        {index: 'Start_Position', name: 'StartPos',width:170, sortable:true, search:true},
        {index: 'Stop_Position', name: 'StopPos',width:170, sortable:true, search:true},
        {index: 'Start', name: 'Start',width:170, sortable:true, search:true},
        {index: 'End', name: 'End',width:170, sortable:true, search:true},
        {index: 'geneID', name: 'geneID',width:170, sortable:true, search:true,formatter: formatOperations},
        {index: 'Feature_Type', name: 'Feature_Type',width:170, sortable:true, search:true},
        {index: 'Feature_Name', name: 'Feature_Name',width:170, sortable:true, search:true},
        {index: 'Mstart', name: 'Mstart',width:170, sortable:true, search:true},
        {index: 'Mstop', name: 'Mstop',width:170, sortable:true, search:true},
        {index: 'Trait', name: 'Trait',width:170, sortable:true, search:true}],
    rowNum:100,
    rowList:[100,200,300,400],
    pager: '#pager2',
    loadonce: true,
    shrinkToFit:false,
    viewrecords: true,
    width:700,
    height:700,
    sortorder: "desc",
    caption: "Breeder Tool Box",
    sortname: 'Linkage_group'
});

jqGrid for the second grid is all distorted with no horizontal bar .
I am not able to find the differences between these two codes ,
Can you please point where is my mistake ?

  • 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-27T00:23:46+00:00Added an answer on May 27, 2026 at 12:23 am

    you can do this with css. Change the following in ui.grid.css

    .ui-jqgrid .ui-jqgrid-bdiv {
      position: relative; 
      margin: 0em; 
      padding:0; 
      /*overflow: auto;*/ 
      overflow-x:visible; 
      overflow-y:auto; 
      text-align:left;
    }
    
    • 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.6.4 and a jquery 1.4.2 . in my sample i
Greetings, I have a problem using jqgrid and jquery tab (I am coding in
How can I find the current page number in jqGrid (using jQuery of course).
I have a project in ASP.NET MVC1 using VB.NET controlers and JqGrid. it works
I'm using jqGrid for a JIRA plugin and have included the jquery and jqgrid
I'm currently using jqGrid and ASP.Net MVC. With my current project, my goal is
I am using jqgrid throughout my application. On two screens with inline edit, everything
I'm using jqgrid 3.8.2, I'm trying to use below code to reload data from
This is the first time I'm using jqgrid. I have confused in how to
I'm using jqGrid with mvc 2 like this: jQuery(#extension_grid).jqGrid({ url: '/Extension/Report', datatype: json, direction:

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.