Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






bug in modal window size- grid.common.js

UserPost

15:29
02/04/2009


alan

Member

posts 8

My first post :) I think I found a bug (and a fix)!

line 43 in grid.common.js reads:

    if(p.height==0 || !p.width) {p.height =200;}


but SHOULD be (i think):

    if(p.height==0 || !p.height) {p.height =200;}


What I would like to accomplish is to have the modal window resize dynamically. If there are 10 fields, rather than a scroll bar, I'd like the window to be taller. Is this possible?


EDIT: My apology, I now see that I should have posted this under the Bugs Forum.

02:46
03/04/2009


tony

Sofia, Bulgaria

Moderator

posts 7004

Hello,

Thank you very much. It is a bug. Fixed.

there is no problem to set 'auto' but you will have a trouble in IE browsers (They inderstand auto diffrent way).

Regards

Tony

07:50
03/04/2009


alan

Member

posts 8

Thanks a lot, Tony. Is there any way to have the modal window resize dynamically, or will it always be a fixed size?


-Alan


About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

steve_o

87 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9584

Posts: 28767

Membership:

There are 10132 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1157

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7004 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information