I had this same issue with IE6. it took me a while to fix but here is my solution, I hope it works for others.
You need to add 2 items to your pager section on the JQGrid where you define the add, edit, delete etc attributes.
- scroll: 1 - This tells the dialog to scroll
- afterShowForm: function(form) { form.css("height", "300px"); } - This fixes some draw issue with IE6 which again forces the dialog to scroll.
You need both of these together if you want the dialog to scroll and also remove any existing height attribute from the section too. You don't have to create the form.css file, at least I didn't, it just works as is.
{ add: false, edit: true, del: false, refresh: true, search: true }, //general options
{
//Options for the Edit Dialog
editCaption: 'Edit Data',
width: 500,
modal: true,
scroll: 1,
closeAfterEdit: true,
onclickSubmit: function(eparams) {
var sr = jQuery("#MyGridTbl").getGridParam('selrow');
var currentRow = jQuery("#MyGridTbl").getRowData(sr);
return { Id: currentRow.Id };
},
afterShowForm: function(form) { form.css("height", "300px"); }
},
{
},
{
},
{} //Search options
);