Forum


08:42

22/08/2009

I have a problem when I´m trying to use the form edition with the buttons submit and cancel, if I don't specify a heigth and width for the edit form the buttons doesn't appear, but if I specify the size the buttons appear cutted to the middle, how can I fix this issue...
There's the code of the edit form
jQuery.jgrid.edit = {
addCaption: "xxxxx",
editCaption: "xxxx",
bSubmit: "xxxxr",
closeAfterAdd: true,
closeAfterEdit: true,
bCancel: "xxxx",
processData: "xxxx...",
editData:{myname:"myvalue"},
height:200,
width:400,
top:0,
left:0
};
Thanks in advance
02:41

Moderators
30/10/2007

Hello,
Thanks. It is some thing that should be improved. I recommend you to use not height, but dataheight parameter. See available options for form Editiong in documentation
Best 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:47

Moderators
30/10/2007

Hello
Look here
http://www.trirand.com/jqgridw.....rm_editing
This parameter set the height of the scrolling content. When set this parameter with value (pixels) and leave height to auto you will allways have the buttons visible.
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.
10:38

22/08/2009

Thanks for the reply, but I have to say that I did all you recommend but the problem continues. If i set the heigth to auto and put a value to the dataheigth the edit form buttons dissapear no matter how big the value is. I tried too by setting a bottominfo in the edit form but the string doesn't show.
Please if you can give another info about how to solve this problem I'll be very grateful because now I'm very confused about it...
Thanks in advance
11:21

Moderators
30/10/2007

Hello,
For now it seems that you should set both values with pixels until I get it fixed.
Reagrds
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.
Most Users Ever Online: 715
Currently Online:
104 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