Solved

Adding a vertical scrollbar to a jqGrid

Posted on 2011-09-14
2
1,610 Views
Last Modified: 2012-06-21
I have a working jQuery jqGrid, but I need to make it add a vertical scrollbar when the number of records exceed the grid size.

I tried setting the grid size explicitly. I tried variou things.

I attached the shell of the code so you can get a 10,000 foot view.
Thanks.

 
$("#my_dialog").dialog({
        title: "My Windows",
        modal: true,
        width: 700, 
        height: 550,        
        buttons: {
            Cancel: function () {
                $(this).dialog("close");
            },

	    Add: function () {
             // code removed from here
                $(this).dialog("close");
            }
                $(this).dialog("close");
            }
        }
    }).dialog("close");

Open in new window

0
Comment
Question by:newbieweb
2 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 36540167
put your jQgrid page in an iframe
0
 

Author Closing Comment

by:newbieweb
ID: 36541946
Thanks!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
where is team.js? 3 30
Multiflying 2 Input Text On a Table 7 31
Insert Button on a table 16 36
How  can  I extract  Id  from a  URL  using  Javascript? 12 29
Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question