Forum
10:42
28/12/2008
New here, so sorry if I am repeating something already requested (I did look). When the add/edit form is displayed, it appears that the overall dimensions and the widths of the text (and textarea) input fields are not configurable. Is that correct? I just added a few more columns to the page I am experimenting with and the modal dialog box was displayed with the buttons hidden because it was too short.
13:49
22/12/2008
for the edit form hight you must declare it at navGrid properties
$Grid.navGrid('#pager'
, { edit: true, add: true, del: true}//options
, { height: 400, top: 100, left: 100, reloadAfterSubmit: true, modal: true, checkInput: true} // edit options
, { height: 280, reloadAfterSubmit: true} // add options
, { reloadAfterSubmit: true} // del options
, { top: 100, left: 100, sopt: ['cn', 'bw', 'eq', 'ew']} // search options
);
unfortunately it cannot be set t0 '100%'.
as for Edit's fileds width, it's in editoptions: {size:20, maxlength: 25}
15:39
28/12/2008
Thanks, I tried what you suggested (it actually covered several questions I have scattered about on the forum), but the navGrid options did not seem to do anything. The editoptions suggestion for setting the size of a text field does work. I'm not sure waht I might be doing wrong, but isn't it possiible for the dialog to determines how big it should be on its own, based on what is being drawn inside it?
I only set the edit options, just to test it out, and used exactly what you specified in the context of my code:
}).navGrid('#pager2',
{edit:true,add:true,del:true}, // options
{height: 400, top: 100, left: 100, reloadAfterSubmit: true, modal: true, checkInput: true}, // edit options
{}, // add options
{}, // del options
{} // search options
);
02:39
Moderators
30/10/2007
Hello,
We can use the auto property for the width or height, but there is a bug in jqDnR when we use a auto height. I have notified the author about this problem and hope that it will be corrected soon.
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.
12:54
31/12/2008
dhoover said:
Thanks, I tried what you suggested (it actually covered several questions I have scattered about on the forum), but the navGrid options did not seem to do anything. The editoptions suggestion for setting the size of a text field does work. I'm not sure waht I might be doing wrong, but isn't it possiible for the dialog to determines how big it should be on its own, based on what is being drawn inside it?
I only set the edit options, just to test it out, and used exactly what you specified in the context of my code:
}).navGrid('#pager2',
{edit:true,add:true,del:true}, // options
{height: 400, top: 100, left: 100, reloadAfterSubmit: true, modal: true, checkInput: true}, // edit options
{}, // add options
{}, // del options
{} // search options
);
I just tried this out and it works in Firefox and IE7 but not in IE6.
Most Users Ever Online: 715
Currently Online:
53 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66