Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
bug in modal window size- grid.common.js
02/04/2009
15:29
Avatar
alan
Member
Members
Forum Posts: 8
Member Since:
01/04/2009
sp_UserOfflineSmall Offline

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.

03/04/2009
02:46
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

03/04/2009
07:50
Avatar
alan
Member
Members
Forum Posts: 8
Member Since:
01/04/2009
sp_UserOfflineSmall Offline

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

-Alan

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
80 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information