Forum


21:22

04/11/2008

The title should read
"Hidden Columns Set to ("none breaking space") after save.
I typed it in that way...and I can't edit it.
I have a grid with a sub grid. OK, I have 3 foreign keys that I need to keep track of. I have an “edit” button and “save” button in column 1.In PostData I use getRowData to assign values to KEY1, KEY2, and KEY3 from columns that are set “hidden:true”.
I refresh the page.
I click on the “+” button on one of the rows to open the sub grid. The grid opens correctly. KEY1, KEY2, and KEY3 contain the correct indexes.
Perfect so far.
I click on the Edit Button, make a change (or not), Click on the Save Button.
The record is saved correctly
Perfect so far.
Now when I go to open the sub table we find a problem. KEY1, KE2, and KEY3 all have a value of “ ”
This is not the correct behavior. Is this a BUG?
Barry
08:34

Moderators
30/10/2007

Hello,
Could you plese post the full properties of KEY1 and etc in colModel?
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.
15:24

04/11/2008

Here you go:
colModel:[
{name:'act',index:'act',width:70,sortable:false},
{name:'match_id',index:'match_id',hidden:true,width:55,key:false,editable:true,editoptions:{readonly:true,size:10}},
{name:'squad_id',index:'squad_id',hidden:true,width:55,key:false,editable:true,editoptions:{readonly:true,size:10}},
{name:'season_id',index:'season_id',hidden:true,width:55,key:false,editable:true,editoptions:{readonly:true,size:10}},
{name:'squad',index:'squad',width:90,editable:true,edittype:"select",editoptions:{value:"1:Varsity;2:Junior Varsity;3:Freshmen"}},
{name:'season',index:'season',width:100,editable:true,edittype:"select",editoptions:{value:"1:2005-2006;2:2006-2007;3:2007-2008;4:2008-2009;5:2009-2010;6:2010-2011;7:2011-2012;8:2012-2013;9:2013-2014"}},
{name:'date',index:'date', width:100, align:"right", editable:true,sorttype:"date"},
{name:'opponent',index:'opponent', width:150, align:"center", editable:true,editoptions:{size:50}},
{name:'site',index:'site', width:150,align:"center", editable:true,editoptions:{size:50}}
],
06:51

Moderators
30/10/2007

Hello,
I suppose you use inline edit module. My next question is
which version of jqGrod do you use? If you do not use the last one
please update.
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.
00:56

Moderators
30/10/2007

Hello,
Thanks, Yes there is a bug for this. Thank you. It is corrected.
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.
Most Users Ever Online: 715
Currently Online:
40 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