Forum



10:41

18/08/2008

I can't tell if I am missing something. I want to have additional items in the form but hidden in the table. So, I have the following
{name:'password', index:'password', width:100, editable:true, edittype:"password", editoptions:{edithidden:true, size:25,maxlength:12}, hidden:true},
It hides it in the grid as expected but is not showing it in the form.
What am I missing?
13:07

10/08/2009

Hi Steffan,
The property edithidden:true is a part of editrules and not editoptions like you use currently. The combination of the setting with hidedlg allows you implement the most scanarios in the form editing. For more advance scenarios where you need have different set of visible columns in the form dialog for Add and Edit dialogs you can use beforeShowForm event (see an example in this answer).
Best regards
Oleg
17:14

10/08/2009

I know the problem Steffan. Sometime if one is tired one can do more dengerous things.
I had an idee to write simple validation module which can be used to validate all input parameters of jqGrid. One can easy find the errors like you made or other like the usage of cellSubmit instead of cellsubmit or resizeable instead of resizable column option. The validation can be prity simple, but very helpful to find small bugs.
Best regards
Oleg
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