jqgrid scrollable dialog

Posted by gurun8 on Stack Overflow See other posts from Stack Overflow or by gurun8
Published on 2010-05-21T02:20:49Z Indexed on 2010/05/21 2:30 UTC
Read the original article Hit count: 735

Filed under:
|
|

I have a jqGrid that has add/edit dialogs with a form that's longer than the dialog height but the dialog won't scroll. I've tried to add an overflow: auto style to the dialog but no effect:

$("div.ui-jqdialog-content").css("overflow", "auto");

Although, if I change auto to scroll, I at least see a scrollbar but still no scrolling:

$("div.ui-jqdialog-content").css("overflow", "scroll");

This at least gives me a small glimmer of hope that I'm on the right track.

There doesn't seem to be any direction from the API documentation to support scrolling:

http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing

Does anyone know how to add a working scrollbar to the jqModal dialog window used by jqGrid?

© Stack Overflow or respective owner

Related posts about jqgrid

Related posts about dialog